linux_dsm_epyc7002/drivers/media/i2c
Hans Verkuil 0d5e8c4313 [media] Fix 64-bit division fall-out from 64-bit control ranges
Commit 0ba2aeb6da increased the internal control ranges
to 64 bit, but that caused problems in drivers that use the minimum/maximum/step/default_value
control values in a division or modulus operations since not all architectures support
those natively.

Luckily, in almost all cases it is possible to just cast to 32 bits (the control value
is known to be 32 bits, so it is safe to cast). Only in v4l2-ctrls.c was it necessary to
use do_div in one function.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-07-17 12:44:38 -03:00
..
cx25840 [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
m5mols [media] m5mols: Replace missing header 2014-05-25 17:00:01 -03:00
s5c73m3 [media] s5c73m3: Add missing rename of v4l2_of_get_next_endpoint() function 2014-04-15 09:49:54 -03:00
smiapp [media] v4l2-ctrls: use ptrs for all but the s32 type 2014-07-17 11:57:17 -03:00
soc_camera [media] Fix 64-bit division fall-out from 64-bit control ranges 2014-07-17 12:44:38 -03:00
ad9389b.c [media] v4l: Validate fields in the core code for subdev EDID ioctls 2014-05-25 12:48:33 -03:00
adp1653.c
adv7170.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
adv7175.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
adv7180.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
adv7183_regs.h [media] media_tree: Fix spelling errors 2013-12-09 14:50:50 -02:00
adv7183.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
adv7343_regs.h
adv7343.c [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of 2014-03-06 17:41:22 +01:00
adv7393_regs.h
adv7393.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
adv7511.c [media] v4l: Validate fields in the core code for subdev EDID ioctls 2014-05-25 12:48:33 -03:00
adv7604.c [media] adv7604: Update recommended writes for the adv7611 2014-07-04 16:13:57 -03:00
adv7842.c [media] v4l: Validate fields in the core code for subdev EDID ioctls 2014-05-25 12:48:33 -03:00
ak881x.c [media] media/i2c: fill in missing reg->size fields 2013-06-17 08:56:55 -03:00
aptina-pll.c
aptina-pll.h
as3645a.c
bt819.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
bt856.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
bt866.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
cs53l32a.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
cs5345.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
ir-kbd-i2c.c [media] rc: abstract access to allowed/enabled protocols 2014-03-11 13:24:39 -03:00
Kconfig Merge branch 'topic/exynos' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2014-04-05 13:10:00 -07:00
ks0127.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
ks0127.h
lm3560.c [media] lm3560: prevent memory leak in case of pdata absence 2014-03-11 09:56:39 -03:00
lm3646.c [media] lm3646: add new dual LED Flash driver 2014-03-11 10:00:26 -03:00
m52790.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
Makefile [media] V4L: Add driver for s5k6a3 image sensor 2014-03-14 10:32:17 -03:00
ml86v7667.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
msp3400-driver.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
msp3400-driver.h
msp3400-kthreads.c
mt9m032.c [media] videodev2: Set vb2_rect's width and height as unsigned 2014-01-07 08:02:39 -02:00
mt9p031.c [media] mt9p031: Fix BLC configuration restore when disabling test pattern 2014-05-23 14:54:04 -03:00
mt9t001.c [media] mt9t001: Add clock support 2014-02-24 13:11:40 -03:00
mt9v011.c [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
mt9v032.c [media] v4l2-ctrls: use ptrs for all but the s32 type 2014-07-17 11:57:17 -03:00
noon010pc30.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
ov7640.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
ov7670.c [media] V4L2: ov7670: fix a wrong index, potentially Oopsing the kernel from user-space 2014-05-13 19:58:08 -03:00
ov9650.c [media] ov9650: off by one in ov965x_enum_frame_sizes() 2013-08-24 04:54:17 -03:00
s5k4ecgx.c
s5k5baf.c [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of 2014-03-06 17:41:22 +01:00
s5k6a3.c [media] V4L: Add driver for s5k6a3 image sensor 2014-03-14 10:32:17 -03:00
s5k6aa.c [media] s5k6aa: off by one in s5k6aa_enum_frame_interval() 2013-08-24 04:54:09 -03:00
saa711x_regs.h [media] saa7115: Implement i2c_board_info.platform_data 2013-08-18 08:27:07 -03:00
saa717x.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa6588.c [media] saa6588: add support for non-blocking mode 2014-01-07 07:42:19 -02:00
saa6752hs.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa7110.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa7115.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa7127.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
saa7185.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
saa7191.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
saa7191.h
smiapp-pll.c [media] smiapp-pll: Add a few comments to PLL calculation 2013-08-22 11:38:25 -03:00
smiapp-pll.h [media] smiapp: Make PLL flags unsigned long 2014-04-23 11:29:21 -03:00
sony-btf-mpx.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
sr030pc30.c [media, edac] Change my email address 2014-02-07 08:03:07 -02:00
tda7432.c
tda9840.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
tea6415c.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
tea6415c.h
tea6420.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
tea6420.h
ths7303.c [media] ths7303: Declare as static a private function 2013-12-09 14:50:51 -02:00
ths8200_regs.h [media] media: i2c: ths8200: driver for TI video encoder 2013-06-17 09:52:31 -03:00
ths8200.c [media] ths8200: Remove deprecated video-level DV timings operations 2014-05-25 12:46:18 -03:00
tlv320aic23b.c
tvaudio.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tvp514x_regs.h
tvp514x.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tvp5150_reg.h
tvp5150.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tvp7002_reg.h
tvp7002.c [media] tvp7002: Remove deprecated video-level DV timings operations 2014-05-25 12:46:47 -03:00
tw2804.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tw9903.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
tw9906.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
uda1342.c
upd64031a.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
upd64083.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
vp27smpx.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
vpx3220.c [media] v4l: subdev: Move [gs]_std operation to video ops 2014-05-24 17:11:26 -03:00
vs6624_regs.h
vs6624.c [media] v4l: vs6624: Fix warning due to unused function 2013-12-10 16:03:36 -02:00
wm8739.c [media] media/i2c: remove g_chip_ident op 2013-06-17 08:52:10 -03:00
wm8775.c [media] wm8775: fix broken audio routing 2013-11-29 14:34:54 -02:00