media: bcm2835-unicam: Reinstate V4L2_CAP_READWRITE in the caps
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 7 Jul 2020 13:23:40 +0000 (14:23 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:02 +0000 (11:33 +0000)
commit9e3bf662ac8b2d72b624247c7c920e98b7b4c03d
treebb863740182ddeee2d2cf55cf261e1aff4bf7761
parent7052dc14d5723aacc0840696497d55859b09b13e
media: bcm2835-unicam: Reinstate V4L2_CAP_READWRITE in the caps

v4l2-compliance throws a failure if the device doesn't advertise
V4L2_CAP_READWRITE but allows read or write operations.
We do support read, so reinstate the flag.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/platform/bcm2835/bcm2835-unicam.c