media: allegro: activate v4l2-ctrls only for current codec
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 3 Dec 2020 11:01:05 +0000 (12:01 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 27 Jan 2021 15:14:08 +0000 (16:14 +0100)
commit99b05ce74ceeb474ff4db37a0861b135063b7c7f
tree464852842cdeaacb6adb74da2ca13640e35cff48
parentbe7f41f2f10c8605ba4b9a5515cf449006470b90
media: allegro: activate v4l2-ctrls only for current codec

These controls are specific to H.264 and shall only be activated, if the
coded format is H.264.

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