usb/langwell_udc: use pm_runtime_get/put instead of sync functions in atmoic context
authorWu, Hao <hao.wu@intel.com>
Sun, 13 Nov 2011 18:04:46 +0000 (02:04 +0800)
committerGross, Mark <mark.gross@intel.com>
Mon, 14 Nov 2011 22:09:39 +0000 (14:09 -0800)
commitfd4da01e2c32d3631a07d82044683056ca6a39f9
treeb407148b92f115a003a3b47e6a3683ade3bfb3fc
parentc9e5b5cc9bb3357b55dd5766b84a08165351e88b
usb/langwell_udc: use pm_runtime_get/put instead of sync functions in atmoic context

BZ: 14275

As we can not put runtime_suspend/runtime_resume into atmoic context, so it
should not be safe to invoke pm_runtime_get/put_sync in atmoic context

Change-Id: I06ebe6c0635e15c16ea765b7b14c538dda91575c
Signed-off-by: Wu, Hao <hao.wu@intel.com>
Reviewed-on: http://android.intel.com:8080/23995
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
drivers/usb/gadget/langwell_udc.c