mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
usb: chipidea: tegra: Fix missed ci_hdrc_remove_device()
commit563b9372f7upstream. The ChipIdea's platform device need to be unregistered on Tegra's driver module removal. Fixes:dfebb5f43a("usb: chipidea: Add support for Tegra20/30/114/124") Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Acked-by: Peter Chen <peter.chen@nxp.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bc434ccf9a
commit
3d137dfc2f
@@ -133,6 +133,7 @@ static int tegra_udc_remove(struct platform_device *pdev)
|
||||
{
|
||||
struct tegra_udc *udc = platform_get_drvdata(pdev);
|
||||
|
||||
ci_hdrc_remove_device(udc->dev);
|
||||
usb_phy_set_suspend(udc->phy, 1);
|
||||
clk_disable_unprepare(udc->clk);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user