aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-sensor.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-06-04 11:19:55 +0000
committerMauro Carvalho Chehab <[email protected]>2019-06-05 12:47:44 +0000
commit1397e3ec0cff0110a1d9c1b1d5fd2c79bfe72fc9 (patch)
treed374788deb23ab8f9bc4c5aab190a00c5606ecb8 /drivers/media/platform/vimc/vimc-sensor.c
parentmedia: rtl2832_sdr: set device_caps in struct video_device (diff)
downloadkernel-1397e3ec0cff0110a1d9c1b1d5fd2c79bfe72fc9.tar.gz
kernel-1397e3ec0cff0110a1d9c1b1d5fd2c79bfe72fc9.zip
media: usb/gadget/f_uvc: set device_caps in struct video_device
Instead of filling in the struct v4l2_capability device_caps field, fill in the struct video_device device_caps field. That way the V4L2 core knows what the capabilities of the video device are. But this only really works if all drivers use this, so convert this UVC gadget driver. Signed-off-by: Hans Verkuil <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Acked-by: Felipe Balbi <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions