Commit e2dc503c authored by Mike Lockwood's avatar Mike Lockwood Committed by Colin Cross
Browse files

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: default avatarMike Lockwood <lockwood@android.com>
parent 0de5a69f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment