media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE
authorEugen Hristev <eugen.hristev@microchip.com>
Mon, 15 Apr 2019 14:13:51 +0000 (10:13 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 21 May 2019 11:15:45 +0000 (07:15 -0400)
commita0816e5088baab82aa738d61a55513114a673c8e
treec49e7ced427b1a2de261887072201e83f3800a18
parent73c1a577b83999f3bd208bbc6955f21d82b7f9ac
media: v4l2-ctrl: fix flags for DO_WHITE_BALANCE

Control DO_WHITE_BALANCE is a button, with read only and execute-on-write flags.
Adding this control in the proper list in the fill function.

After adding it here, we can see output of v4l2-ctl -L
do_white_balance 0x0098090d (button) : flags=write-only, execute-on-write

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/v4l2-core/v4l2-ctrls.c