From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752800AbdHTLJO (ORCPT ); Sun, 20 Aug 2017 07:09:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:52018 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752612AbdHTLJN (ORCPT ); Sun, 20 Aug 2017 07:09:13 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 270E3218F8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=jic23@kernel.org Date: Sun, 20 Aug 2017 12:07:04 +0100 From: Jonathan Cameron To: Philipp Zabel Cc: linux-kernel@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Maxime Coquelin , Alexandre Torgue , linux-iio@vger.kernel.org Subject: Re: [PATCH 032/102] iio: dac: stm32-dac-core: explicitly request exclusive reset control Message-ID: <20170820120704.25a35236@archlinux> In-Reply-To: <20170719152646.25903-33-p.zabel@pengutronix.de> References: <20170719152646.25903-1-p.zabel@pengutronix.de> <20170719152646.25903-33-p.zabel@pengutronix.de> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-unknown-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 On Wed, 19 Jul 2017 17:25:36 +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. > > Cc: Jonathan Cameron > Cc: Hartmut Knaack > Cc: Lars-Peter Clausen > Cc: Peter Meerwald-Stadler > Cc: Maxime Coquelin > Cc: Alexandre Torgue > Cc: linux-iio@vger.kernel.org > Signed-off-by: Philipp Zabel Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > drivers/iio/dac/stm32-dac-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/dac/stm32-dac-core.c b/drivers/iio/dac/stm32-dac-core.c > index 75e48788c7ead..f1eeb1549f689 100644 > --- a/drivers/iio/dac/stm32-dac-core.c > +++ b/drivers/iio/dac/stm32-dac-core.c > @@ -114,7 +114,7 @@ static int stm32_dac_probe(struct platform_device *pdev) > goto err_vref; > } > > - priv->rst = devm_reset_control_get(dev, NULL); > + priv->rst = devm_reset_control_get_exclusive(dev, NULL); > if (!IS_ERR(priv->rst)) { > reset_control_assert(priv->rst); > udelay(2);