usb: gadget: pxa25x: fix disconnect reporting
authorFelipe Balbi <balbi@ti.com>
Mon, 11 Mar 2013 10:40:31 +0000 (12:40 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 11 Mar 2013 10:40:31 +0000 (12:40 +0200)
commit66e4afc77f76653460d7eb31ec793506ada1ad33
tree081748dced8d451bf5c6bd2218b32cf86b42810c
parentc390b0363d6cc201db93de69b5e88f482322d821
usb: gadget: pxa25x: fix disconnect reporting

when commit 6166c24 (usb: gadget: pxa25x_udc:
convert to udc_start/udc_stop) converted
this driver to udc_start/udc_stop, it failed
to consider the fact that stop_activity()
is called from disconnect interrupt.

Fix the problem so that gadget drivers know
about proper disconnect sequences.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/pxa25x_udc.c