usb: musb: Fix external abort in musb_remove on omap2430

commit 94e46a4f2d upstream.

This fixes an oops on unbind / module unload (on the musb omap2430
platform).

musb_remove function now calls musb_platform_exit before disabling
runtime pm.

Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Merlijn Wajer 2018-03-13 09:48:40 -05:00 • committed by Greg Kroah-Hartman
commit 1f52b0c642