Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754124AbdGTHBA (ORCPT ); Thu, 20 Jul 2017 03:01:00 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:57577 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752033AbdGTHA6 (ORCPT ); Thu, 20 Jul 2017 03:00:58 -0400 Date: Thu, 20 Jul 2017 09:00:46 +0200 From: Boris Brezillon To: Philipp Zabel Cc: linux-kernel@vger.kernel.org, Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , Maxime Ripard , Chen-Yu Tsai , linux-mtd@lists.infradead.org Subject: Re: [PATCH 042/102] mtd: nand: sunxi: explicitly request exclusive reset control Message-ID: <20170720090046.3991a18b@bbrezillon> In-Reply-To: <20170719152646.25903-43-p.zabel@pengutronix.de> References: <20170719152646.25903-1-p.zabel@pengutronix.de> <20170719152646.25903-43-p.zabel@pengutronix.de> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1776 Lines: 48 Hi Philipp, On Wed, 19 Jul 2017 17:25:46 +0200 Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control behavior. Convert all drivers requesting exclusive resets to the > explicit API call so the temporary transition helpers can be removed. > > No functional changes. If you don't mind, I'd like to take this patch in the nand tree, just in case we have other modifications on sunxi_nand.c for this cycle. Regards, Boris > > Cc: Boris Brezillon > Cc: Richard Weinberger > Cc: David Woodhouse > Cc: Brian Norris > Cc: Marek Vasut > Cc: Cyrille Pitchen > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: linux-mtd@lists.infradead.org > Signed-off-by: Philipp Zabel > --- > drivers/mtd/nand/sunxi_nand.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/nand/sunxi_nand.c b/drivers/mtd/nand/sunxi_nand.c > index d0b6f8f9f297a..6eb97451f485c 100644 > --- a/drivers/mtd/nand/sunxi_nand.c > +++ b/drivers/mtd/nand/sunxi_nand.c > @@ -2208,7 +2208,7 @@ static int sunxi_nfc_probe(struct platform_device *pdev) > if (ret) > goto out_ahb_clk_unprepare; > > - nfc->reset = devm_reset_control_get_optional(dev, "ahb"); > + nfc->reset = devm_reset_control_get_optional_exclusive(dev, "ahb"); > if (IS_ERR(nfc->reset)) { > ret = PTR_ERR(nfc->reset); > goto out_mod_clk_unprepare;