Jagan Teki 8b8d59f323 usb: musb-new: Fix improper musb host pointer
When MUSB is operating in peripheral mode, probe registering
musb core using musb_register which intern return int value
for validation. so there is no scope to preserve struct musb
pointer but the same can be used in .remove musb_stop.
So fix this by return musb_register with struct musb pointer.

Cc: Igor Grinberg <grinberg@compulab.co.il>
Cc: Purna Chandra Mandal <purna.mandal@microchip.com>
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>
2018-08-23 17:31:24 +05:30
..
2018-07-19 16:17:58 -04:00
2018-06-18 14:43:13 -04:00
2018-08-03 19:53:10 -04:00
2018-07-26 14:08:22 -05:00
2018-06-13 07:49:12 -04:00
2018-04-06 17:04:33 -04:00
2018-06-03 15:27:21 +02:00
2018-08-01 18:03:58 +02:00
2018-07-26 14:08:22 -05:00
2018-07-19 16:31:37 -04:00
2018-08-01 16:30:45 -06:00
2018-07-20 15:55:05 -04:00