mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-19 05:31:32 +00:00
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>
This commit is contained in:
parent
14b6a07cf7
commit
12069bd046
1 changed files with 1 additions and 0 deletions
|
@ -1007,6 +1007,7 @@ void musb_stop(struct musb *musb)
|
|||
* - ...
|
||||
*/
|
||||
musb_platform_try_idle(musb, 0);
|
||||
musb_platform_exit(musb);
|
||||
}
|
||||
|
||||
#ifndef __UBOOT__
|
||||
|
|
Loading…
Add table
Reference in a new issue