usb: musb-new: Call musb_platform_exit from musb_stop
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 20 Jul 2018 07:14:01 +0000 (12:44 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 23 Aug 2018 12:01:24 +0000 (17:31 +0530)
commit12069bd0466a87015dd40bb25c6b2571ee5f0851
tree9f97777839e6f9b8b1279d9df46c88cfc35279be
parent14b6a07cf73c4f191bafefcece6132eab6cf740e
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>
drivers/usb/musb-new/musb_core.c