summaryrefslogtreecommitdiffstats
path: root/drivers/phy
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2016-06-28 10:33:55 +0200
committerLee Jones <lee.jones@linaro.org>2016-07-01 11:52:09 +0200
commitf5f35830fb84364a24794fe6c7101f85318481d2 (patch)
tree57093c7bfa77ef2ae2a5ba411efa6d6330822668 /drivers/phy
parentphy: miphy28lp: Inform the reset framework that our reset line may be shared (diff)
downloadlinux-f5f35830fb84364a24794fe6c7101f85318481d2.tar.xz
linux-f5f35830fb84364a24794fe6c7101f85318481d2.zip
phy: phy-stih407-usb: Use explicit reset_control_get_exclusive() API
We're making all reset line users specify whether their lines are shared with other IP or they operate them exclusively. In this case the line is exclusively used only by this IP, so use the *_exclusive() API accordingly. Acked-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/phy-stih407-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/phy-stih407-usb.c b/drivers/phy/phy-stih407-usb.c
index 53cf8d1b4116..b1f44ab669fb 100644
--- a/drivers/phy/phy-stih407-usb.c
+++ b/drivers/phy/phy-stih407-usb.c
@@ -111,7 +111,7 @@ static int stih407_usb2_picophy_probe(struct platform_device *pdev)
return PTR_ERR(phy_dev->rstc);
}
- phy_dev->rstport = devm_reset_control_get(dev, "port");
+ phy_dev->rstport = devm_reset_control_get_exclusive(dev, "port");
if (IS_ERR(phy_dev->rstport)) {
dev_err(dev, "failed to ctrl picoPHY reset\n");
return PTR_ERR(phy_dev->rstport);