diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2018-07-20 12:44:01 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-08-23 17:31:24 +0530 |
commit | 12069bd0466a87015dd40bb25c6b2571ee5f0851 (patch) | |
tree | 9f97777839e6f9b8b1279d9df46c88cfc35279be | |
parent | 14b6a07cf73c4f191bafefcece6132eab6cf740e (diff) |
usb: musb-new: Call musb_platform_exit from musb_stop
musb stop is musb core call during unregister or shutting down
gadget or host musb. For graceful exit add musb_platform_exit
on musb_stop so-that it can exit the musb platform driver as well.
Tested-by: Chen-Yu Tsai <wens@csie.org> # A33-OlinuXino
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
-rw-r--r-- | drivers/usb/musb-new/musb_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/musb-new/musb_core.c b/drivers/usb/musb-new/musb_core.c index 8fec6f38ad..afea9fbcef 100644 --- a/drivers/usb/musb-new/musb_core.c +++ b/drivers/usb/musb-new/musb_core.c @@ -1007,6 +1007,7 @@ void musb_stop(struct musb *musb) * - ... */ musb_platform_try_idle(musb, 0); + musb_platform_exit(musb); } #ifndef __UBOOT__ |