[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20170719152646.25903-66-p.zabel@pengutronix.de>
Date: Wed, 19 Jul 2017 17:26:09 +0200
From: Philipp Zabel <p.zabel@...gutronix.de>
To: linux-kernel@...r.kernel.org
Cc: Philipp Zabel <p.zabel@...gutronix.de>,
Kishon Vijay Abraham I <kishon@...com>
Subject: [PATCH 065/102] phy: qcom-qusb2: explicitly request exclusive reset control
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 <kishon@...com>
Signed-off-by: Philipp Zabel <p.zabel@...gutronix.de>
---
drivers/phy/qualcomm/phy-qcom-qusb2.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/phy/qualcomm/phy-qcom-qusb2.c b/drivers/phy/qualcomm/phy-qcom-qusb2.c
index 6c575244c0fb9..b7c6984ed5259 100644
--- a/drivers/phy/qualcomm/phy-qcom-qusb2.c
+++ b/drivers/phy/qualcomm/phy-qcom-qusb2.c
@@ -426,7 +426,8 @@ static int qusb2_phy_probe(struct platform_device *pdev)
dev_dbg(dev, "failed to get iface clk, %d\n", ret);
}
- qphy->phy_reset = devm_reset_control_get_by_index(&pdev->dev, 0);
+ qphy->phy_reset = devm_reset_control_get_exclusive_by_index(&pdev->dev,
+ 0);
if (IS_ERR(qphy->phy_reset)) {
dev_err(dev, "failed to get phy core reset\n");
return PTR_ERR(qphy->phy_reset);
--
2.11.0
Powered by blists - more mailing lists