From patchwork Sun Aug 27 12:55:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Priit Laes X-Patchwork-Id: 9923811 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 ACEF8603B4 for ; Sun, 27 Aug 2017 12:56:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B6482861C for ; Sun, 27 Aug 2017 12:56:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FD5F2861D; Sun, 27 Aug 2017 12:56:35 +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.8 required=2.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=no 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 31B0D2862D for ; Sun, 27 Aug 2017 12:56:34 +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:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=DChRBSy6M3Zi0206Ghw2dRMGSSFIZ/MasG96EmU6LkM=; b=e8r FIXxMYq4muG8+VrFP28gK2pVMddpUnR3SWtuk/Dlf3dIb7CeJXsN3wKU51S3Wgd699cdnnXSdJx75 H0uxMBX/jcEmZps0MW2PmNH8snCwIfXqa3o2s7YcBJY/s/Ik08L6rq2c8XlDeWJQU9fsbdCj8+7KP HSgq5mVvyyrWHGP3+/u1SkT4Ah1K0ST9h4fqNPwqT7IX8Lpy2qX0Bq2359YqvJ+0Bb0Rd+0GuN07U hGMQbYF16zDdxyElc3H1O8cJL/BEHbvWFL8GvQb+bMcX9Au38ECsL10sRHFnOTQl+jjQV0Dtz8PqJ Qwmej+AxWXl7SEh6U6MduX9V8NEcIRA==; 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 1dlx73-0007ib-5t; Sun, 27 Aug 2017 12:56:25 +0000 Received: from plaes.org ([188.166.43.21]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dlx70-0007hG-M8 for linux-arm-kernel@lists.infradead.org; Sun, 27 Aug 2017 12:56:24 +0000 Received: from localhost (85.253.197.123.cable.starman.ee [85.253.197.123]) by plaes.org (Postfix) with ESMTPSA id E618540068; Sun, 27 Aug 2017 12:55:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1503838529; bh=ZZppWVnd5WndpkVvbWbtjgGaxxUiMF5NHd9AyKLI63A=; h=From:To:Cc:Subject:Date:From; b=BxIKJgP9moMLXA2pR9vW0bjAZzExWyEys3JRPpyiSGyJv8TutIVzNFpwo123HiUdF twaBkItOS+h7aImtCh+38Qz0oQINFHW11SqvJPfK+uiwvWVWR16uYOCrWJxkFtiwl0 AZ06oRoPljceAVLg9MKpqF8WJUBSHOocq6YlC1RENoTsW9aGJmSDXykCi5cJrC/yQ1 OLWODcsCOP+2HUy46vuL46+ThGAXJi3fRibimA6vIOIvkBODM5astZOTKCSlP986zI m/oAjAVtkV3rnDAjH6Qh2oaHxwIT2n/B9PfMuLki6oGkYw/36+icttImmdGjdxejbY j3tp7hQNOd6WQ== From: Priit Laes To: Maxime Ripard , Chen-Yu Tsai , Linus Walleij , linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Revert "pinctrl: sunxi: Don't enforce bias disable (for now)" Date: Sun, 27 Aug 2017 15:55:23 +0300 Message-Id: <20170827125523.29208-1-plaes@plaes.org> X-Mailer: git-send-email 2.13.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170827_055622_893635_5BAC6345 X-CRM114-Status: UNSURE ( 9.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-sunxi@googlegroups.com, Priit Laes MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This reverts commit 2154d94b40ea2a5de05245521371d0461bb0d669. The original patch was intented to avoid some issues with the sunxi gpio rework and was supposed to be reverted after all the required DT bits had been merged around v4.10. Signed-off-by: Priit Laes Acked-by: Maxime Ripard --- drivers/pinctrl/sunxi/pinctrl-sunxi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c b/drivers/pinctrl/sunxi/pinctrl-sunxi.c index 0dfd7fa66c48..52edf3b5988d 100644 --- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c +++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c @@ -564,7 +564,8 @@ static int sunxi_pconf_group_set(struct pinctrl_dev *pctldev, val = arg / 10 - 1; break; case PIN_CONFIG_BIAS_DISABLE: - continue; + val = 0; + break; case PIN_CONFIG_BIAS_PULL_UP: if (arg == 0) return -EINVAL;