diff options
| author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-06-07 11:34:40 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-06 08:26:06 -0300 |
| commit | 63f2f417526fc54191f2b813f72dc1d5322bede8 (patch) | |
| tree | 2b2bae47335a295a29be6e75a4ac54805a1b66d8 /tools/perf/scripts/python/netdev-times.py | |
| parent | 0a2a89c4acbf2ede9cdcc51d7113091978079b7b (diff) | |
[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>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
