]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92b31a85606b124985462c2f801e57a52b8953f0
tree081748dced8d451bf5c6bd2218b32cf86b42810c
parent2b82c1aa1c7e28b149b05cae6d1f8d7e1056eaf1
usb: gadget: pxa25x: fix disconnect reporting

when commit 0a11175 (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