usb: gadget: fsl_udc: Unlock the spinlock before calling clk_enable
authorBenoit Goby <benoit@android.com>
Wed, 29 Sep 2010 23:04:25 +0000 (16:04 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:57 +0000 (16:28 -0700)
commit2973ae6586d2abe28d45e35a47c8fe05ed7c43d6
tree4de7c4488765f3ae8066e81000d3f25f7504b2b7
parente6483a8c8eea16ad06efe48362d80ee1875e7685
usb: gadget: fsl_udc: Unlock the spinlock before calling clk_enable

On suspend, dr_controller_stop disable interrupts and on resume, interrupts
are disabled until dr_controller_run is called, so it is safe to call
fsl_udc_clk_suspend/resume with interrupts and the spinlock unlocked.

Change-Id: I33618295ea096a4bfd796d1a07dfc9722e7786b0
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/gadget/fsl_udc_core.c