diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-09 16:21:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-09 23:08:07 +0200 |
commit | 8087c35fc48c9545ee1f07bd812217b286cf13bb (patch) | |
tree | fb8ba9578203c1c0d959f35f8f04a488cf9732f9 /drivers/hid/hid-dr.c | |
parent | [media] disable COMPILE_TEST for omap1_camera (diff) | |
download | linux-8087c35fc48c9545ee1f07bd812217b286cf13bb.tar.xz linux-8087c35fc48c9545ee1f07bd812217b286cf13bb.zip |
[media] s5p-jpeg: Fix compilation with COMPILE_TEST
ERROR: "__bad_ndelay" [drivers/media/platform/s5p-jpeg/s5p-jpeg.ko] undefined!
That happens because asm-generic doesn't like any ndelay time
bigger than 20us.
Currently, usleep_range() couldn't simply be used, since
exynos4_jpeg_sw_reset() is called with a spinlock held.
So, let's use udelay() instead.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/hid/hid-dr.c')
0 files changed, 0 insertions, 0 deletions