linux/drivers/media/usb/gspca/m5602
Nicholas Mc Guire 63f2f41752 [media] gscpa_m5602: use msecs_to_jiffies for conversions
API compliance scanning with coccinelle flagged:
./drivers/media/usb/gspca/m5602/m5602_s5k83a.c:180:9-25:
	 WARNING: timeout (100) seems HZ dependent

Numeric constants passed to schedule_timeout() make the effective
timeout HZ dependent which makes little sense in a polling loop for
the cameras rotation state.
Fixed up by converting the constant to jiffies with msecs_to_jiffies()

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-07-06 08:26:06 -03:00
..
Kconfig
m5602_bridge.h [media] gscpa_m5602: Convert to the control framework 2013-03-05 15:10:27 -03:00
m5602_core.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
m5602_mt9m111.c [media] gspca: store current mode instead of individual parameters 2013-09-26 07:19:09 -03:00
m5602_mt9m111.h [media] gscpa_m5602: Convert to the control framework 2013-03-05 15:10:27 -03:00
m5602_ov7660.c [media] m5602_ov7660: return error at ov7660_init() 2013-03-22 09:46:48 -03:00
m5602_ov7660.h [media] gscpa_m5602: Convert to the control framework 2013-03-05 15:10:27 -03:00
m5602_ov9650.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
m5602_ov9650.h [media] gscpa_m5602: Convert to the control framework 2013-03-05 15:10:27 -03:00
m5602_po1030.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
m5602_po1030.h [media] gscpa_m5602: Convert to the control framework 2013-03-05 15:10:27 -03:00
m5602_s5k4aa.c [media] gspca: Remove gspca-specific debug magic 2013-03-05 15:13:48 -03:00
m5602_s5k4aa.h [media] gscpa_m5602: Convert to the control framework 2013-03-05 15:10:27 -03:00
m5602_s5k83a.c [media] gscpa_m5602: use msecs_to_jiffies for conversions 2015-07-06 08:26:06 -03:00
m5602_s5k83a.h [media] gscpa_m5602: Convert to the control framework 2013-03-05 15:10:27 -03:00
m5602_sensor.h [media] gscpa_m5602: Convert to the control framework 2013-03-05 15:10:27 -03:00
Makefile