usb: dwc3: exynos: Fix remove() function
stable inclusion from stable-v5.10.157 commit 350e98a08af1cfa5cc870c93a87a6d7011261836 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7MU59 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=350e98a08af1cfa5cc870c93a87a6d7011261836 -------------------------------- commit e0481e5b upstream. The core DWC3 device node was not properly removed by the custom dwc3_exynos_remove_child() function. Replace it with generic of_platform_depopulate() which does that job right. Fixes: adcf20dc ("usb: dwc3: exynos: Use of_platform API to create dwc3 core pdev") Signed-off-by:Marek Szyprowski <m.szyprowski@samsung.com> Acked-by:
Thinh Nguyen <Thinh.Nguyen@synopsys.com> Cc: stable@vger.kernel.org Reviewed-by:
Sam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20221110154131.2577-1-m.szyprowski@samsung.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment