| commit | e2dc503c4220b7d86815283f7d18c0b14af64470 | [log] [tgz] |
|---|---|---|
| author | Mike Lockwood <lockwood@android.com> | Wed Jun 23 08:20:59 2010 -0400 |
| committer | Colin Cross <ccross@android.com> | Tue Jun 14 09:09:07 2011 -0700 |
| tree | 86b791420885196c018cc05bd527d5996762d976 | |
| parent | 0de5a69f62827cbf1cf4a254811aab65200e5a2d [diff] |
USB: gadget: composite: Add userspace notifications for USB state changes Add switch to notify current USB configuration. This can be used to detect USB connect and disconnect events. Broadcast a change via the usb_composite class when a USB function is enabled or disabled. Rename usb_function.hidden to usb_function.disabled. Signed-off-by: Mike Lockwood <lockwood@android.com>