]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd43e49f18799f255d8817c8f663863c3cd4019f0
tree59d024a84ea4498ded8bcbe998a77a126b2daaea
parent129650930d556e22484cc6948ef9b05003e55625
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