linux/drivers/media
Eugen Hristev 1451d5ae35 media: i2c: mt9v032: fix enum mbus codes and frame sizes
This driver supports both the mt9v032 (color) and the mt9v022 (mono)
sensors. Depending on which sensor is used, the format from the sensor is
different. The format.code inside the dev struct holds this information.
The enum mbus and enum frame sizes need to take into account both type of
sensors, not just the color one. To solve this, use the format.code in
these functions instead of the hardcoded bayer color format (which is only
used for mt9v032).

[Sakari Ailus: rewrapped commit message]

Suggested-by: Wenyou Yang <wenyou.yang@microchip.com>
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-01-04 08:09:59 +01:00
..
cec media: cec: check 'transmit_in_progress', not 'transmitting' 2019-12-13 09:05:04 +01:00
common media: v4l2: abstract timeval handling in v4l2_buffer 2020-01-03 15:43:35 +01:00
dvb-core
dvb-frontends media: dvb_dummy_fe: Add blank line after declaration 2020-01-03 16:22:19 +01:00
firewire
i2c media: i2c: mt9v032: fix enum mbus codes and frame sizes 2020-01-04 08:09:59 +01:00
mc
mmc
pci media: v4l2: abstract timeval handling in v4l2_buffer 2020-01-03 15:43:35 +01:00
platform media: omap3isp: Don't restart CCDC if we're about to stop 2020-01-03 16:35:41 +01:00
radio
rc media: serial_ir: change "ignoring spike" to debug level 2020-01-03 16:29:33 +01:00
spi
tuners
usb media: dvb: add support for TerraTec TC2 Stick (193534) 2020-01-03 16:30:24 +01:00
v4l2-core media: v4l2-core: fix compat v4l2_buffer handling for time64 ABI 2020-01-03 15:53:46 +01:00
Kconfig
Makefile