usb: musb-new: sunxi: Add proper musb exit support
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 20 Jul 2018 07:14:00 +0000 (12:44 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 23 Aug 2018 12:01:24 +0000 (17:31 +0530)
commit14b6a07cf73c4f191bafefcece6132eab6cf740e
tree95ac122a7f03d97b14142be12c64f70db17dbc32
parent1034bcc26db6153aa86addfd69d68b275eb2223f
usb: musb-new: sunxi: Add proper musb exit support

musb have platform ops to do proper graceful exit,
so add the exit call and move musb platform exit code
instead of keeping it in driver remove.
This make proper shutdown of musb where .remove will
call disable, exit serially via musb_stop.

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/sunxi.c