Searched hist:ed6fe1f50f0c0fdea674dfa739af50011034bdfa (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_hid.c | diff ed6fe1f50f0c0fdea674dfa739af50011034bdfa Thu Jun 23 15:28:54 CDT 2016 Johannes Berg <johannes@sipsolutions.net> usb: gadget: f_hid: add dev to configfs
Even if the /dev/hidg* chardev is automatically created, one has to guess which one belongs to which function. In the case of multiple HID functions, or maybe even multiple peripherals, this becomes difficult.
Add the dev (with major and minor number) to configfs to allow looking up (or even creating) the right device node for each function. This file is read-only.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
|