media: allegro: handle dependency of bitrate and bitrate_peak
authorMichael Tretter <m.tretter@pengutronix.de>
Mon, 16 Mar 2020 15:26:34 +0000 (16:26 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 20 Mar 2020 08:25:51 +0000 (09:25 +0100)
commitc59de02d10f5b082af0554c4ca736b0ce765865f
tree38930e1106ed45b72b524b0791b99cc4e8fb5028
parentd71f12225d4635000e9491af65b600f05512de60
media: allegro: handle dependency of bitrate and bitrate_peak

The peak bitrate must not be smaller than the configured bitrate. Update
the other control whenever one of the controls changes to reflect this
dependency.

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