diff options
author | Michael Tretter <m.tretter@pengutronix.de> | 2021-01-15 10:34:59 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-27 16:04:30 +0100 |
commit | 8e64f00846bb19cb1910363c1acad64aa92020d4 (patch) | |
tree | 7f5e22932f6d9916d7c65f37ba90e1b857e54d5a /drivers/media/i2c/cs3308.c | |
parent | 7f8e438b90c91541d784feb5f71be1a0b01a6010 (diff) |
media: allegro: implement S_FMT for CAPTURE
In order to support different codecs, the driver must support changing
the format on CAPTURE. Therefore, the driver needs to handle S_FMT on
CAPTURE.
As the driver will have a different number of formats for OUTPUT and
CAPTURE, split the check for the format index in ENUM_FMT into CAPTURE
and OUTPUT.
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>
Diffstat (limited to 'drivers/media/i2c/cs3308.c')
0 files changed, 0 insertions, 0 deletions