phy: tegra: xusb: Add missing tegra_xusb_port_unregister for usb2_port and ulpi_port
stable inclusion from stable-v5.10.180 commit da67d60467dd9308a98c6213213a4c39dd5d2a24 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8FC2O Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=da67d60467dd9308a98c6213213a4c39dd5d2a24 -------------------------------- [ Upstream commit e0248540 ] The tegra_xusb_port_unregister should be called when usb2_port and ulpi_port map fails in tegra_xusb_add_usb2_port() or in tegra_xusb_add_ulpi_port(), fix it. Fixes: 53d2a715 ("phy: Add Tegra XUSB pad controller support") Signed-off-by:Gaosheng Cui <cuigaosheng1@huawei.com> Acked-by:
Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20221129111634.1547747-1-cuigaosheng1@huawei.com Signed-off-by:
Vinod Koul <vkoul@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment