staging: bcm2835-camera: Correct V4L2_CID_COLORFX_CBCR behaviour
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Mon, 8 Oct 2018 17:26:15 +0000 (18:26 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:13 +0000 (00:08 +0100)
commitcdf0ee428483b2774a19e2d63d6d64c9ebaf2570
tree379d1b655257ab709f96d5e328db0ab4ffed186a
parentd3533684786a6eec68bcf6e43d719b29b44df976
staging: bcm2835-camera: Correct V4L2_CID_COLORFX_CBCR behaviour

With V4L2_CID_COLORFX_CBCR calling ctrl_set_colfx it was incorrectly
assigning the colour values to the enable field of dev->colourfx
instead of the u and v fields.

Correct the assignments.

Reported as a Coverity issue
Detected by CoverityScan CID#1419711 ("Unused value")

Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/staging/vc04_services/bcm2835-camera/controls.c