USB: musb: fix possible panic while resuming
authorKim Kyuwon <q1.kim@samsung.com>
Fri, 27 Mar 2009 01:56:51 +0000 (18:56 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Apr 2009 17:50:26 +0000 (10:50 -0700)
commit0ec8fd70fbd7327e1bf747c4a2f6b67efdf16618
tree5eff626ce5bd4b0975515fb12f69521910ea69d2
parent6b6e97107f12f3a9f7b5b43a6c3b94409240bcff
USB: musb: fix possible panic while resuming

During driver resume processing, musb could cause a kernel panic.
Fix by enabling the clock earlier, with the resume_early method.

Signed-off-by: Kim Kyuwon <q1.kim@samsung.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c