summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-08-27 15:54:27 +0200
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-09-24 09:47:11 +0200
commita2ace25c3f0e8904abc2aadee554cc20c6c3bf6b (patch)
treece2781ebd43b06d6d080bdd1878a6a265ca66550 /scripts/gdb/linux/device.py
parent6e6c4ae0f0ba295dbf6cbd48d93bec169d6ce431 (diff)
media: atomisp: Fix device_caps reporting of the registered video-devs
atomisp_subdev_register_entities() had V4L2_CAP_VIDEO_CAPTURE / V4L2_CAP_VIDEO_OUT swapped. Or-ing in V4L2_CAP_VIDEO_OUT for the nodes which allow capturing from the camera and or-ing in V4L2_CAP_VIDEO_CAPTURE for the file-injection node (mem2mem use of the ISP). Things happen to still work for the capture device-nodes because the "shared" caps also included V4L2_CAP_VIDEO_CAPTURE, so those shared nodes advertised V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUT. Fix things so that only the correct caps are advertised. Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions