From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932216AbdGSP1x (ORCPT ); Wed, 19 Jul 2017 11:27:53 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:36089 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755303AbdGSP1s (ORCPT ); Wed, 19 Jul 2017 11:27:48 -0400 From: Philipp Zabel To: linux-kernel@vger.kernel.org Cc: Philipp Zabel , Daniel Lezcano , Thomas Gleixner , Maxime Ripard , Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org Subject: [PATCH 012/102] clocksource/drivers/sun5i: explicitly request exclusive reset control Date: Wed, 19 Jul 2017 17:25:16 +0200 Message-Id: <20170719152646.25903-13-p.zabel@pengutronix.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170719152646.25903-1-p.zabel@pengutronix.de> References: <20170719152646.25903-1-p.zabel@pengutronix.de> X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Daniel Lezcano Cc: Thomas Gleixner Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Philipp Zabel --- drivers/clocksource/timer-sun5i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-sun5i.c b/drivers/clocksource/timer-sun5i.c index 2a3fe83ec3377..a75be5bfb8b20 100644 --- a/drivers/clocksource/timer-sun5i.c +++ b/drivers/clocksource/timer-sun5i.c @@ -349,7 +349,7 @@ static int __init sun5i_timer_init(struct device_node *node) return PTR_ERR(clk); } - rstc = of_reset_control_get(node, NULL); + rstc = of_reset_control_get_exclusive(node, NULL); if (!IS_ERR(rstc)) reset_control_deassert(rstc); -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: p.zabel@pengutronix.de (Philipp Zabel) Date: Wed, 19 Jul 2017 17:25:16 +0200 Subject: [PATCH 012/102] clocksource/drivers/sun5i: explicitly request exclusive reset control In-Reply-To: <20170719152646.25903-1-p.zabel@pengutronix.de> References: <20170719152646.25903-1-p.zabel@pengutronix.de> Message-ID: <20170719152646.25903-13-p.zabel@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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: Daniel Lezcano Cc: Thomas Gleixner Cc: Maxime Ripard Cc: Chen-Yu Tsai Cc: linux-arm-kernel at lists.infradead.org Signed-off-by: Philipp Zabel --- drivers/clocksource/timer-sun5i.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/timer-sun5i.c b/drivers/clocksource/timer-sun5i.c index 2a3fe83ec3377..a75be5bfb8b20 100644 --- a/drivers/clocksource/timer-sun5i.c +++ b/drivers/clocksource/timer-sun5i.c @@ -349,7 +349,7 @@ static int __init sun5i_timer_init(struct device_node *node) return PTR_ERR(clk); } - rstc = of_reset_control_get(node, NULL); + rstc = of_reset_control_get_exclusive(node, NULL); if (!IS_ERR(rstc)) reset_control_deassert(rstc); -- 2.11.0