USB: gadget: composite: Use separate switches for connected and config state
authorMike Lockwood <lockwood@android.com>
Sat, 11 Dec 2010 00:30:15 +0000 (16:30 -0800)
committerMike Lockwood <lockwood@android.com>
Tue, 14 Dec 2010 17:24:54 +0000 (09:24 -0800)
commita05f03bf6ece7619877d6b3ccfbc7597f6df7b40
tree63c2e44bc26739545d37e2847e4212364044e8e6
parent1cfb26afa1528c3c148f59aa0f6764d77c02659a
USB: gadget: composite: Use separate switches for connected and config state

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

Signed-off-by: Mike Lockwood <lockwood@android.com>
drivers/usb/gadget/composite.c
include/linux/usb/composite.h