diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-06-07 14:07:01 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-06-13 13:21:04 +0300 |
commit | 104165686ea388ddec6ec2834bf2c13873fbe91a (patch) | |
tree | 376b8558c45f55d0e367780f96068cef02331721 /Documentation/ABI | |
parent | 06644aafb042a20802504d3447bfb0b64985e15d (diff) | |
download | op-kernel-dev-104165686ea388ddec6ec2834bf2c13873fbe91a.zip op-kernel-dev-104165686ea388ddec6ec2834bf2c13873fbe91a.tar.gz |
usb: gadget: udc: add a 'function' sysfs file
This file will print out the name of the currently running USB Gadget
Driver. It can be read even when there are no functions loaded.
Suggested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/stable/sysfs-class-udc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/stable/sysfs-class-udc b/Documentation/ABI/stable/sysfs-class-udc index 85d3dac..7370deb 100644 --- a/Documentation/ABI/stable/sysfs-class-udc +++ b/Documentation/ABI/stable/sysfs-class-udc @@ -91,3 +91,11 @@ Description: 'configured', and 'suspended'; however not all USB Device Controllers support reporting all states. Users: + +What: /sys/class/udc/<udc>/function +Date: June 2017 +KernelVersion: 4.13 +Contact: Felipe Balbi <balbi@kernel.org> +Description: + Prints out name of currently running USB Gadget Driver. +Users: |