]> git.karo-electronics.de Git - linux-beck.git/commit
[media] omap4iss: Use a common macro for all sleep-based poll loops
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 28 Mar 2014 18:27:32 +0000 (15:27 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 23 May 2014 15:02:57 +0000 (12:02 -0300)
commit05b1b986b540fe48f98a09b087b054754d67ef41
treedcd07a9d12a358ec4982235f5d5b2cf5d248c754
parent47a963f1025690824a3f00e27d1d161a0f01cd88
[media] omap4iss: Use a common macro for all sleep-based poll loops

Instead of implementing usleep_range-based poll loops manually (and
slightly differently), create a generic iss_poll_wait_timeout() macro
and use it through the driver.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/omap4iss/iss.c
drivers/staging/media/omap4iss/iss.h
drivers/staging/media/omap4iss/iss_csi2.c