]> err.no Git - linux-2.6/commit
V4L/DVB (6495): saa7146: saa7146_wait_for_debi_done fixes
authorOliver Endriss <o.endriss@gmx.de>
Wed, 31 Oct 2007 03:39:48 +0000 (00:39 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 4 Nov 2007 23:41:23 +0000 (21:41 -0200)
commit26ac14e24f3c84ed7a619639c2027f03b52bd64b
treedf6539dae9ace10b8391c22a52b5d8a5a8faa566
parentcb20630cefb382a360fcc9ea054e597596153f42
V4L/DVB (6495): saa7146: saa7146_wait_for_debi_done fixes

Two fixes for the 'saa7146_wait_for_debi_done' code:
(a) Timeout did not work when the routine was called with
    interrupts disabled.
(b) Reduce PCI I/O load caused by saa7146_wait_for_debi_done.
    Seems to be very important on fast machines!

Based on code posted by Hartmut Birr @vdr-portal.

Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/saa7146_core.c