twx-linux/drivers/usb
Daniel Scally 7bf1c56a90 usb: gadget: uvc: Make bmControls attr read/write
For the Processing Unit and Camera Terminal descriptors defined in
the UVC Gadget we currently hard-code values into their bmControls
fields, which enumerates which controls the gadget is able to
support. This isn't appropriate since only the userspace companion
program to the kernel driver will know which controls are supported.
Make the configfs attributes that point to those fields read/write
so userspace can set them to appropriate values.

Document the new behaviour at the same time so the functionality is
clear.

Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Link: https://lore.kernel.org/r/20230309105825.216745-1-dan.scally@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-29 08:51:26 +02:00
..
atm
c67x00
cdns3 Merge 6.3-rc4 into usb-next 2023-03-27 09:27:01 +02:00
chipidea Merge 6.3-rc4 into usb-next 2023-03-27 09:27:01 +02:00
class tty: Call ->dtr_rts() parameter active consistently 2023-01-19 16:04:35 +01:00
common Driver core changes for 6.3-rc1 2023-02-24 12:58:55 -08:00
core usb: acpi: Switch to use acpi_evaluate_dsm_typed() 2023-03-16 12:15:10 +01:00
dwc2 Merge 6.3-rc4 into usb-next 2023-03-27 09:27:01 +02:00
dwc3 Merge 6.3-rc4 into usb-next 2023-03-27 09:27:01 +02:00
early usb: early: xhci-dbc: Use memcpy_and_pad() 2023-01-31 10:40:54 +01:00
fotg210 USB: fotg210: fix memory leak with using debugfs_lookup() 2023-02-06 13:46:42 +01:00
gadget usb: gadget: uvc: Make bmControls attr read/write 2023-03-29 08:51:26 +02:00
host xhci: Move xhci MSI sync function to to xhci-pci 2023-03-23 17:25:23 +01:00
image
isp1760
misc Merge 6.3-rc4 into usb-next 2023-03-27 09:27:01 +02:00
mon mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
mtu3 usb: mtu3: fix the failure of qmu stop 2023-01-19 14:12:08 +01:00
musb usb: Use of_property_present() for testing DT property presence 2023-03-16 12:14:50 +01:00
phy usb: phy: twl6030: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
renesas_usbhs usb: renesas_usbhs: drop of_match_ptr for ID table 2023-03-16 12:15:23 +01:00
roles driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00
serial USB: serial: quatech2: remove unused qt2_setdevice function 2023-03-23 17:35:00 +01:00
storage uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2 2023-03-16 12:44:17 +01:00
typec usb: typec: tps6598x: Add support for polling interrupts status 2023-03-29 08:50:21 +02:00
usbip Including fixes from bpf, netfilter and can. 2022-12-21 08:41:32 -08:00
Kconfig
Makefile usb: host: u132-hcd: Delete driver 2023-03-21 14:06:11 +01:00
usb-skeleton.c usb: add usb_set_intfdata() documentation 2022-11-29 08:56:09 +01:00