]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit7b44a2cb6fa56e072027990d3dfd65b55d83e824
tree95ac122a7f03d97b14142be12c64f70db17dbc32
parenteeda09af64db29b7eff81db30c390298753628c9
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