From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 399B1C48BD3 for ; Thu, 27 Jun 2019 00:42:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 072E221852 for ; Thu, 27 Jun 2019 00:42:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561596140; bh=yMqgoqn9uN+2xPGT4Sd8LbbkdY3bk8Eq6r5wGsBIbOw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=WQSJCErE2KUIN0JFMwZAfAdZCl+zfWEkYtoMvGaJDYZ0L3LZSh+Ky3UuJlhUplPWc y9qiYqhD/BIWmnyyztRPuPIZ//nxFMUOOObIcHnrza69P5vRoYr45/arG58VEWnkwU GoAWCLKEkaMe1iT1U3ApNbL0mGL377HPyzLo0IWc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729682AbfF0AmT (ORCPT ); Wed, 26 Jun 2019 20:42:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:46048 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729671AbfF0AmQ (ORCPT ); Wed, 26 Jun 2019 20:42:16 -0400 Received: from sasha-vm.mshome.net (unknown [107.242.116.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7E53B21881; Thu, 27 Jun 2019 00:42:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561596135; bh=yMqgoqn9uN+2xPGT4Sd8LbbkdY3bk8Eq6r5wGsBIbOw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iy6ytbXzxW53TIQM8CsS7oUX8h4X8i3gPTMAIZGZ77Ra6bErZ6+0eefreJwG6CkBB egQC7ivto2yFEEEJTdnKbx29oE20Sg9/aTvuhLoNOJ4AyzWz03SeqzaFPRz/q7HlMl vjNndDy6UY536B7uK1tK0sN8nN66dPBGt3p5eCY0= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Bartosz Golaszewski , Linus Walleij , Sekhar Nori , Sasha Levin Subject: [PATCH AUTOSEL 4.9 15/21] ARM: davinci: da850-evm: call regulator_has_full_constraints() Date: Wed, 26 Jun 2019 20:41:15 -0400 Message-Id: <20190627004122.21671-15-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190627004122.21671-1-sashal@kernel.org> References: <20190627004122.21671-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski [ Upstream commit 0c0c9b5753cd04601b17de09da1ed2885a3b42fe ] The BB expander at 0x21 i2c bus 1 fails to probe on da850-evm because the board doesn't set has_full_constraints to true in the regulator API. Call regulator_has_full_constraints() at the end of board registration just like we do in da850-lcdk and da830-evm. Reviewed-by: Linus Walleij Signed-off-by: Bartosz Golaszewski Signed-off-by: Sekhar Nori Signed-off-by: Sasha Levin --- arch/arm/mach-davinci/board-da850-evm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 8e4539f69fdc..3bdf0d588238 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -1479,6 +1479,8 @@ static __init void da850_evm_init(void) if (ret) pr_warn("%s: dsp/rproc registration failed: %d\n", __func__, ret); + + regulator_has_full_constraints(); } #ifdef CONFIG_SERIAL_8250_CONSOLE -- 2.20.1