mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
8293c8a3bb
commit
f5f35830fb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue