media: allegro: read bitrate mode directly from control
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 16 Mar 2020 15:26:33 +0000 (16:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Mar 2020 08:25:11 +0000 (09:25 +0100)
commitd71f12225d4635000e9491af65b600f05512de60
treeea8998d442721eb19e00c8a90f1eac23189ae50c
parent80c8449fc71c807e488709ffb5fb0e3182c95c52
media: allegro: read bitrate mode directly from control

There is no need to copy the bitrate mode to a field in the channel and
the value can be read directly from the control.

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/staging/media/allegro-dvt/allegro-core.c