V4L/DVB (5917): ivtv: improve mailbox responsiveness.
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 22 Jul 2007 11:49:32 +0000 (08:49 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 30 Jul 2007 19:26:33 +0000 (16:26 -0300)
commit0b3e29e6d75cbfb8417f449555d40921fd656186
tree59d024a84ea4498ded8bcbe998a77a126b2daaea
parentac4251445d7302697814351f1d9f548f5aa49342
V4L/DVB (5917): ivtv: improve mailbox responsiveness.

First try polling for the result of a mailbox command, then
switch to a test/sleep loop. Also reduce the sleep time from 10 ms
to 1 ms. Improves the responsiveness of the mailbox handling.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-mailbox.c