USB: gadget: composite: Use separate switches for connected
authorMike Lockwood <lockwood@android.com>
Fri, 20 May 2011 20:51:30 +0000 (15:51 -0500)
committerPraneeth Bajjuri <praneeth@ti.com>
Sat, 21 May 2011 00:09:53 +0000 (19:09 -0500)
commite280954cad6acdad74310e30d404ed56328fa096
treed0aa0a759147cf0a7d6a1323a9e640b8986e2162
parent12ac85043670395a5815fd6402c4f8033dfe99e7
USB: gadget: composite: Use separate switches for connected
and config state

Also remove disconnect debouncing, which didn't actually
work on some platforms.

This patch is needed after the new GB update for USB
detection to work.

Change-Id: I00b61b83b261244ed05a01a49ffb0eec6d5156d1
Signed-off-by: Mike Lockwood <lockwood@android.com>
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>
drivers/usb/gadget/composite.c
include/linux/usb/composite.h