kernel-fxtec-pro1x/drivers/media/i2c
Hans Verkuil 4550a7f409 media: imx274: fix frame interval handling
[ Upstream commit 49b20d981d723fae5a93843c617af2b2c23611ec ]

1) the numerator and/or denominator might be 0, in that case
   fall back to the default frame interval. This is per the spec
   and this caused a v4l2-compliance failure.

2) the updated frame interval wasn't returned in the s_frame_interval
   subdev op.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-05 11:08:40 +01:00
..
adv748x media: i2c: adv748x: Fix unsafe macros 2020-02-14 16:33:27 -05:00
cx25840 media: cx25840: add kernel-doc description of struct cx25840_state 2018-07-04 09:38:49 -04:00
et8ek8 media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
m5mols media: m5mols: Check function pointer in m5mols_sensor_power 2020-10-29 09:55:02 +01:00
s5c73m3 media: s5c73m3-core: fix logic on a timeout condition 2018-03-07 05:55:05 -05:00
smiapp media: smiapp: Fix error handling at NVM reading 2020-10-01 13:14:25 +02:00
soc_camera media: soc_camera: ov772x: correct setting of banding filter 2018-06-28 09:22:57 -04:00
ad5820.c [media] ad5820: unregister async sub-device 2017-06-08 12:34:17 -03:00
ad9389b.c media: adv*/tc358743/ths8200: fill in min width/height/pixelclock 2019-02-12 19:47:02 +01:00
adp1653.c
adv7170.c
adv7175.c
adv7180.c media: adv7180: add g_frame_interval support 2018-07-27 08:04:04 -04:00
adv7183.c
adv7183_regs.h scripts/spelling.txt: add "swithc" pattern and fix typo instances 2017-02-27 18:43:46 -08:00
adv7343.c media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
adv7343_regs.h
adv7393.c media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
adv7393_regs.h
adv7511-v4l2.c media: i2c: fix warning same module names 2019-07-26 09:14:10 +02:00
adv7604.c media: cec/v4l2: move V4L2 specific CEC functions to V4L2 2019-09-16 08:21:46 +02:00
adv7842.c media: cec/v4l2: move V4L2 specific CEC functions to V4L2 2019-09-16 08:21:46 +02:00
ak881x.c
ak7375.c media: ak7375: Add ak7375 lens voice coil driver 2018-07-04 07:13:34 -04:00
aptina-pll.c
aptina-pll.h
bt819.c
bt856.c
bt866.c
cs53l32a.c
cs3308.c
cs5345.c
dw9714.c media: dw9714: Fix error handling in probe function 2019-11-24 08:20:39 +01:00
dw9807-vcm.c media: dw9807-vcm: Fix probe error handling 2019-11-24 08:20:40 +01:00
imx258.c media: imx258: Check the rotation property has a value of 180 2018-06-27 09:49:11 -04:00
imx274.c media: imx274: fix frame interval handling 2020-11-05 11:08:40 +01:00
ir-kbd-i2c.c media: rc: probe zilog transmitter when zilog receiver is found 2018-05-04 08:22:36 -04:00
Kconfig media: i2c: tda1997x: select V4L2_FWNODE 2019-09-16 08:22:10 +02:00
ks0127.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ks0127.h
lm3560.c media: i2c: lm3560: add support for lm3559 chip 2018-06-28 07:10:01 -04:00
lm3646.c
m52790.c
Makefile media: i2c: fix warning same module names 2019-07-26 09:14:10 +02:00
max2175.c media: max2175: fix location of driver's companion documentation 2018-06-15 18:10:41 -03:00
max2175.h [media] media: i2c: max2175: Add MAX2175 support 2017-06-20 07:02:43 -03:00
ml86v7667.c
msp3400-driver.c
msp3400-driver.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
msp3400-kthreads.c treewide: Align function definition open/close braces 2018-03-26 11:13:09 +02:00
mt9m032.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9m111.c media: mt9m111: set initial frame size other than 0x0 2019-04-05 22:33:14 +02:00
mt9p031.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9t001.c media: media/i2c: add missing entity functions 2018-07-25 08:04:00 -04:00
mt9t112.c media: i2c: mt9t112: Remove soc_camera dependencies 2018-03-21 15:29:07 -04:00
mt9v011.c media: convert g/s_parm to g/s_frame_interval in subdevs 2018-02-22 12:27:35 -05:00
mt9v032.c media: i2c: mt9v032: fix enum mbus codes and frame sizes 2020-02-24 08:34:36 +01:00
mt9v111.c media: i2c: mt9v111: Fix v4l2-ctrl error handling 2018-09-12 06:44:01 -04:00
noon010pc30.c
ov772x.c media: ov772x: Disable clk on error path 2019-11-20 18:45:46 +01:00
ov2640.c media: ov2640: make s_ctrl() work in power-down mode 2018-05-17 06:22:08 -04:00
ov2659.c media: ov2659: fix unbalanced mutex_lock/unlock 2020-01-27 14:50:40 +01:00
ov2680.c media: ov2680: fix null dereference at power on 2019-11-20 18:47:53 +01:00
ov2685.c media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers 2019-11-20 18:45:46 +01:00
ov5640.c media: ov5640: fix use of destroyed mutex 2020-06-22 09:05:27 +02:00
ov5645.c media: i2c: ov5645: Fix power sequence 2019-10-05 13:09:42 +02:00
ov5647.c media: drivers: remove "/**" from non-kernel-doc comments 2017-11-30 04:19:03 -05:00
ov5670.c media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers 2019-11-20 18:45:46 +01:00
ov5695.c media: i2c: ov5695: Fix power on and off sequences 2020-04-17 10:48:41 +02:00
ov6650.c media: ov6650: Fix .get_fmt() V4L2_SUBDEV_FORMAT_TRY support 2020-01-17 19:47:10 +01:00
ov7251.c media: Add a driver for the ov7251 camera sensor 2018-05-17 06:22:08 -04:00
ov7640.c
ov7670.c media: v4l2: i2c: ov7670: Fix PLL bypass register values 2019-05-08 07:21:55 +02:00
ov7740.c media: i2c: Fix pm_runtime_get_if_in_use() usage in sensor drivers 2019-11-20 18:45:46 +01:00
ov9650.c media: ov9650: add a sanity check 2019-10-05 13:09:50 +02:00
ov13858.c media: ov13858: Check for possible null pointer 2019-12-01 09:17:18 +01:00
rj54n1cb0c.c media: i2c: rj54n1: Remove soc_camera dependencies 2018-06-28 07:27:11 -04:00
s5k4ecgx.c
s5k5baf.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
s5k6a3.c media: s5k6a3: document some fields at struct s5k6a3 2017-11-30 04:18:57 -05:00
s5k6aa.c media: s5k6aa: describe some function parameters 2017-11-30 04:18:58 -05:00
saa711x_regs.h MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
saa717x.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
saa6588.c [poll] annotate SAA6588_CMD_POLL users 2018-02-15 13:11:48 -05:00
saa6752hs.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
saa7110.c
saa7115.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
saa7127.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
saa7185.c
smiapp-pll.c
smiapp-pll.h
sony-btf-mpx.c
sr030pc30.c media: sr030pc30: prevent array underflow in try_fmt() 2018-03-06 08:20:22 -05:00
tc358743.c media: tc358743: cleanup tc358743_cec_isr 2020-10-29 09:55:03 +01:00
tc358743_regs.h media: i2c: add SPDX license info 2018-02-14 13:16:31 -05:00
tda1997x.c media: rename MEDIA_ENT_F_DTV_DECODER to MEDIA_ENT_F_DV_DECODER 2018-07-25 07:49:28 -04:00
tda1997x_regs.h media: i2c: Add TDA1997x HDMI receiver driver 2018-02-22 12:53:32 -05:00
tda7432.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
tda9840.c media: tda9840: cleanup a warning 2018-03-23 07:48:08 -04:00
tea6415c.c
tea6415c.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tea6420.c
tea6420.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ths7303.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
ths8200.c media: adv*/tc358743/ths8200: fill in min width/height/pixelclock 2019-02-12 19:47:02 +01:00
ths8200_regs.h
tlv320aic23b.c
tvaudio.c media: tvaudio: improve error handling 2018-03-23 06:54:32 -04:00
tvp514x.c media: adv7180/tvp514x/tvp7002: fix entity function 2018-07-25 07:52:42 -04:00
tvp514x_regs.h
tvp5150.c media: tvp5150: fix switch exit in set control handler 2019-10-01 08:26:05 +02:00
tvp5150_reg.h MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
tvp7002.c media: adv7180/tvp514x/tvp7002: fix entity function 2018-07-25 07:52:42 -04:00
tvp7002_reg.h MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
tw2804.c
tw9903.c
tw9906.c
tw9910.c media: tw9910: Unregister subdevice with v4l2-async 2020-01-27 14:50:14 +01:00
uda1342.c
upd64031a.c
upd64083.c
video-i2c.c media: i2c: video-i2c: fix build errors due to 'imply hwmon' 2020-04-17 10:48:40 +02:00
vp27smpx.c
vpx3220.c media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
vs6624.c media: i2c: vs6624: Replace mdelay() with msleep() and usleep_range() in vs6624_probe() 2018-07-27 08:11:57 -04:00
vs6624_regs.h
wm8739.c
wm8775.c