media: allegro: initialize bitrate using v4l2_ctrl
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 3 Dec 2020 11:00:57 +0000 (12:00 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 15:07:05 +0000 (16:07 +0100)
commit2e3917e6bd226b2d69f903392592d701a388e4f0
tree984571c68a5eaf59e8e6d13f46633a1fcb56ba17
parent21de56fa0789cf1c7e9a6d946f45c79ead04ffd4
media: allegro: initialize bitrate using v4l2_ctrl

As the driver now uses the v4l2-ctrls to setup the channel, there is no
need to explicitly set the bitrate. The initial bitrate is now set via
the same path as if it is set from userspace using the v4l2-ctrl.

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