From patchwork Wed Mar 22 15:50:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wadim Egorov X-Patchwork-Id: 9639277 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B962F602CB for ; Wed, 22 Mar 2017 15:51:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA58A2845C for ; Wed, 22 Mar 2017 15:51:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9F68228461; Wed, 22 Mar 2017 15:51:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4AADA2845C for ; Wed, 22 Mar 2017 15:51:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:To: From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=cS/3BubJQALsB4xn5Hy9pH8QHMCepipD/6cNzlLd8qo=; b=QOeuakYe1UesbW 6lLX8G2FhB2ZJGZRVqLVRO4nhkscYDfE5ZrPWphkdaikptGnRKXVNY+EhQVJoFXzU7tX7hA8VXuvj RDsUQIFE+O2mLAY3IAadONPA/csCr9VTUX+PkidvBX/qnEL7eTtAQZqTyjlsg4mIj2ObhSvNqgwWY 2M/Pd6ozyF9K+T8X76CXrwEMnFpCSfQa8wmLql1tdVaEjhoSBGWGU4Rv8x3Qr1Rt9Dc85zdvbXFP+ nrftSQdwel9Q+F1Jvr5fTJkBhjtVZ/ziX2b0RFmifuONTWyWNHmG6XmSb5nRS9DAgkxDJXEBCKmJ/ WAkc5J5u/I7brULGt3jg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqiXd-0003YX-Tn; Wed, 22 Mar 2017 15:51:17 +0000 Received: from mail.x-arc.co.uk ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cqiXX-0003RA-L0 for linux-rockchip@lists.infradead.org; Wed, 22 Mar 2017 15:51:16 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 02AE7A003D6; Wed, 22 Mar 2017 16:51:23 +0100 (CET) Received: from augenblix.phytec.de ([172.16.0.56]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2017032216505069-394297 ; Wed, 22 Mar 2017 16:50:50 +0100 From: Wadim Egorov To: lgirdwood@gmail.com, broonie@kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: [PATCH] regulator: rk808: Fix RK818 LDO2 Date: Wed, 22 Mar 2017 16:50:50 +0100 Message-Id: <1490197850-35497-1-git-send-email-w.egorov@phytec.de> X-Mailer: git-send-email 1.9.1 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 22.03.2017 16:50:50, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 22.03.2017 16:50:50, Serialize complete at 22.03.2017 16:50:50 X-TNEFEvaluated: 1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_085111_925499_AC8E1468 X-CRM114-Status: UNSURE ( 7.91 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Set the correct voltage select register for LDO2. Signed-off-by: Wadim Egorov --- drivers/regulator/rk808-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index fb44d52..a16d814 100644 --- a/drivers/regulator/rk808-regulator.c +++ b/drivers/regulator/rk808-regulator.c @@ -519,7 +519,7 @@ static int rk808_set_suspend_disable(struct regulator_dev *rdev) RK818_LDO1_ON_VSEL_REG, RK818_LDO_VSEL_MASK, RK818_LDO_EN_REG, BIT(0), 400), RK8XX_DESC(RK818_ID_LDO2, "LDO_REG2", "vcc6", 1800, 3400, 100, - RK818_LDO1_ON_VSEL_REG, RK818_LDO_VSEL_MASK, RK818_LDO_EN_REG, + RK818_LDO2_ON_VSEL_REG, RK818_LDO_VSEL_MASK, RK818_LDO_EN_REG, BIT(1), 400), { .name = "LDO_REG3",