diff options
| author | Jia-Ju Bai <[email protected]> | 2018-07-26 23:02:40 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-07-27 08:11:57 -0400 |
| commit | a8a4d304b1a41105568c1408e4276cd6f32be787 (patch) | |
| tree | 94af0e0f405eb4b0d19ff9b47f6cacba3a75c8df /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
| parent | 2b5c5798750180a34cb1f39cf648d8a8bceec287 (diff) | |
media: i2c: vs6624: Replace mdelay() with msleep() and usleep_range() in vs6624_probe()
vs6624_probe() is never called in atomic context.
It calls mdelay() to busily wait, which is not necessary.
mdelay() can be replaced with msleep() and usleep_range().
This is found by a static analysis tool named DCNS written by myself.
Signed-off-by: Jia-Ju Bai <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions