staging: bcm2835-camera: Use enums for max value in controls
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Fri, 28 Sep 2018 09:17:11 +0000 (10:17 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:13 +0000 (00:08 +0100)
commitd3533684786a6eec68bcf6e43d719b29b44df976
tree8cc1e2d64444df38c26b9e87577b1b1db69a8729
parent2bfafa2dcb71330b198ea1ebf8c759b6e4f77eff
staging: bcm2835-camera: Use enums for max value in controls

Controls of type MMAL_CONTROL_TYPE_STD_MENU call v4l2_ctrl_new_std_menu
with a max value and a mask. The max value is one of the defined
values for the control, however in the config array there are several
entries where raw numbers have been used instead. Replace these
with the appropriate enum.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/staging/vc04_services/bcm2835-camera/controls.c