]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00221164 usb: device: fix calling mutex at atomic environment
authorPeter Chen <peter.chen@freescale.com>
Thu, 23 Aug 2012 02:49:12 +0000 (10:49 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:17 +0000 (08:35 +0200)
commitc1094343bf14d57727bb36e4bb3cfa55b0f497c4
treea4a6dafbbe53eddc753817a97ee17197def97a1f
parentd4a51234557840e92f0571f58de21333fd74e4e9
ENGR00221164 usb: device: fix calling mutex at atomic environment

Move spin_unlock_irqrestore to avoid calling mutex at atomic
environment, as dr_wake_up_enable will call mutex_lock

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/gadget/arcotg_udc.c