]> git.karo-electronics.de Git - linux-beck.git/commit
usb : gadget : fsl: fix the fault issue on rmmod
authorSuresh Gupta <suresh.gupta@freescale.com>
Wed, 2 Apr 2014 16:56:46 +0000 (22:26 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Apr 2014 15:11:46 +0000 (10:11 -0500)
commitfc696881c6ec991f39a2f93d41f9ae841c6ace38
tree2ea7c8d4fc098bcbca177a86c2f085f715a27d0e
parent0fca91b8a446d4a38b8f3d4772c4a8665ebcd7b2
usb : gadget : fsl: fix the fault issue on rmmod

completion in udc_controller->done should be assign with proper
value before complete called. The complete called in fsl_udc_release
which intern called from usb_del_gadget_udc, so moving assignment
before calling usb_del_gadget_udc

Signed-off-by: Suresh Gupta <suresh.gupta@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/fsl_udc_core.c