diff options
| author | Arnd Bergmann <[email protected]> | 2013-04-23 18:30:47 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-04-23 10:34:20 -0700 |
| commit | 4623c3e0a997e7bac5cb45bb57edcd082f131708 (patch) | |
| tree | 2e7a325714d1068d629329047fd596530b18e2b6 /tools/perf/scripts/python | |
| parent | 14d7547c05064dd066aa4c587f35f45fcffa9493 (diff) | |
staging: comedi/daqboard2000: use mdelay for large delays
On ARM, it is not legal to pass values larger than 2ms into udelay(),
and mdelay() must be used instead, to avoid this build error:
ERROR: "__bad_udelay" [drivers/staging/comedi/drivers/daqboard2000.ko]
undefined!
On a related note, any use of mdelay() or large udelay() numbers should
be carefully reviewed, and replaced with msleep() or a different
implementation that does not rely on delaying the work.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions