Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755390AbdGSPpc (ORCPT ); Wed, 19 Jul 2017 11:45:32 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:44291 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933050AbdGSP3W (ORCPT ); Wed, 19 Jul 2017 11:29:22 -0400 From: Philipp Zabel To: linux-kernel@vger.kernel.org Cc: Philipp Zabel , Kishon Vijay Abraham I , Heiko Stuebner , linux-rockchip@lists.infradead.org Subject: [PATCH 058/102] phy: rockchip-pcie: explicitly request exclusive reset control Date: Wed, 19 Jul 2017 17:26:02 +0200 Message-Id: <20170719152646.25903-59-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 Content-Length: 1300 Lines: 31 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: Kishon Vijay Abraham I Cc: Heiko Stuebner Cc: linux-rockchip@lists.infradead.org Signed-off-by: Philipp Zabel --- drivers/phy/rockchip/phy-rockchip-pcie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/rockchip/phy-rockchip-pcie.c b/drivers/phy/rockchip/phy-rockchip-pcie.c index 6904633cad687..258220b7f481c 100644 --- a/drivers/phy/rockchip/phy-rockchip-pcie.c +++ b/drivers/phy/rockchip/phy-rockchip-pcie.c @@ -305,7 +305,7 @@ static int rockchip_pcie_phy_probe(struct platform_device *pdev) rk_phy->phy_data = (struct rockchip_pcie_data *)of_id->data; rk_phy->reg_base = grf; - rk_phy->phy_rst = devm_reset_control_get(dev, "phy"); + rk_phy->phy_rst = devm_reset_control_get_exclusive(dev, "phy"); if (IS_ERR(rk_phy->phy_rst)) { if (PTR_ERR(rk_phy->phy_rst) != -EPROBE_DEFER) dev_err(dev, -- 2.11.0