]> git.baikalelectronics.ru Git - kernel.git/commit
media: uvcvideo: Allow extra entities
authorRicardo Ribalda <ribalda@chromium.org>
Wed, 23 Dec 2020 13:35:18 +0000 (14:35 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 14:01:41 +0000 (15:01 +0100)
commited4b8a827cb827d90188326fa88c9d4e02e2529c
tree235389c0a7ba4a2aaba9d23cb4392741ca596b3c
parent54e6f8d7d983c0f5edf09e500ef1a708a704274d
media: uvcvideo: Allow extra entities

Increase the size of the id, to avoid collisions with entities
implemented by the driver that are not part of the UVC device.

Entities exposed by the UVC device use IDs 0-255, extra entities
implemented by the driver (such as the GPIO entity) use IDs 256 and
up.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/uvc/uvc_driver.c
drivers/media/usb/uvc/uvcvideo.h