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, 21 Mar 2022 16:04:05 +0000 (16:04 +0000)
commitae151264eaf73a91d6bc26a2841e800005c39a2f
treece9cff8d921ae484b31803999c3be16ae6a80625
parent0e1b1af8033c345f5ac37d42ac11d729c3ea4896
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