From: Mauro Carvalho Chehab Date: Tue, 9 Sep 2014 14:21:30 +0000 (-0300) Subject: [media] s5p-jpeg: Fix compilation with COMPILE_TEST X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~211 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8087c35fc48c9545ee1f07bd812217b286cf13bb;p=pandora-kernel.git [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-diff-tree failed