lights from uvcvideo, as the length from GET_LEN is
trusted as being the right one.
This is to make GET_LEN indicate a length of 3 instead of 1 for this
specific device.
Signed-off-by: Alexandre Macabies
---
drivers/media/usb/uvc/uvc_driver.c | 9 +
drivers/media/usb/uvc/uvc_video.c | 10
issue. It uses a table of local
fixups instead of a module quirk. If you prefer this approach, please
tell me, so I can rework it a bit and submit it in place of this one.
[1] https://patchwork.kernel.org/patch/9764937/
Alexandre Macabies (1):
media: uvcvideo: Add quirk to support light switch
On 06/04/2017 03:41 PM, Alexandre Macabies wrote:
> Hello,
I forgot to Cc: the full list of maintainers for this patch. This follow-up
includes them. Sorry for the noise! My original email & patch is quoted below.
Best,
Alexandre
> This thread comes after two others[1][2] about a sim
ttp://elixir.free-electrons.com/linux/v4.11/source/drivers/media/usb/uvc/uvc_ctrl.c#L1593
Signed-off-by: Alexandre Macabies
---
drivers/media/usb/uvc/uvc_video.c | 37 +
1 file changed, 37 insertions(+)
diff --git a/drivers/media/usb/uvc/uvc_video.c
b/dr