Skip to content

Commit 32806e7

Browse files
digetxgregkh
authored andcommitted
usb: host: ehci-tegra: Stop managing PHY's power
There is no need to use usb_phy_set_suspend during of driver's probe because now PHY driver enables hardware during of PHY's initialization. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Link: https://lore.kernel.org/r/20200106013416.9604-20-digetx@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 7d999a7 commit 32806e7

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎drivers/usb/host/ehci-tegra.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -480,12 +480,6 @@ static int tegra_ehci_probe(struct platform_device *pdev)
480480
}
481481
u_phy->otg->host = hcd_to_bus(hcd);
482482

483-
err = usb_phy_set_suspend(hcd->usb_phy, 0);
484-
if (err) {
485-
dev_err(&pdev->dev, "Failed to power on the phy\n");
486-
goto cleanup_phy;
487-
}
488-
489483
irq = platform_get_irq(pdev, 0);
490484
if (!irq) {
491485
dev_err(&pdev->dev, "Failed to get IRQ\n");

0 commit comments

Comments
 (0)