mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
usb: host: ehci-tegra: request deferred probe when failing to get phy
The commit 1290a958d4 ("usb: phy: propagate __of_usb_find_phy()'s error on
failure") changed the condition to return -EPROBE_DEFER to host driver.
Originally the Tegra host driver depended on the returned -EPROBE_DEFER to
get the phy device later when booting. Now we have to do that explicitly.
Signed-off-by: Vince Hsu <[email protected]>
Tested-by: Tomeu Vizoso <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
36d1ffdb21
commit
f56e67f0a8
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ static int tegra_ehci_probe(struct platform_device *pdev)
|
|||
|
||||
u_phy = devm_usb_get_phy_by_phandle(&pdev->dev, "nvidia,phy", 0);
|
||||
if (IS_ERR(u_phy)) {
|
||||
err = PTR_ERR(u_phy);
|
||||
err = -EPROBE_DEFER;
|
||||
goto cleanup_clk_en;
|
||||
}
|
||||
hcd->usb_phy = u_phy;
|
||||
|
|
|
|||
Loading…
Reference in a new issue