media: allegro: use handler_setup to configure channel
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 3 Dec 2020 11:00:56 +0000 (12:00 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 15:06:39 +0000 (16:06 +0100)
commit21de56fa0789cf1c7e9a6d946f45c79ead04ffd4
tree528ba04b5d39787d8c38f2790871e6f47f4ae836
parente7cd90988b9d03c3a886a23f015c41c71371bc4f
media: allegro: use handler_setup to configure channel

v4l2_ctrl_handler_setup() calls s_ctrl for all controls of the handler.
This ensures that the channel is initialized using the default values of
the v4l2-ctrls.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/allegro-dvt/allegro-core.c