From 8087c35fc48c9545ee1f07bd812217b286cf13bb Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 9 Sep 2014 11:21:30 -0300 Subject: [PATCH] [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 Acked-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed