Files
kernel-tenderloin-3.0/drivers/usb/gadget
Dima Zavin f85cf4f97d usb: gadget: android: always update the sw_connected state
If we go through connected->configured->disconnected cycle very quickly,
it is possible that we may not generate a disconnect uevent to userspace.
Connected+configured could have happened before the work item got
executed, and thus would not have updated the sw_connected state. On
the disconnect, it would have noticed that a config is no longer there
but since sw_connected was still 0, it would not have sent the
disconnect event.

Change-Id: Id71175f784e3e1cf3f828bd8b24fceea1078a06b
Signed-off-by: Dima Zavin <dima@android.com>
2011-09-14 15:21:36 -07:00
..
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-13 16:41:00 -07:00
2011-03-31 11:26:23 -03:00
2011-05-20 12:50:29 -07:00
2011-05-20 12:50:29 -07:00
2011-03-31 11:26:23 -03:00
2011-06-06 16:28:02 -07:00
2010-12-10 14:29:43 -08:00
2011-03-31 11:26:23 -03:00
2011-05-20 12:50:29 -07:00
2011-05-20 12:50:29 -07:00
2011-06-06 16:28:03 -07:00