]> git.baikalelectronics.ru Git - kernel.git/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)
commit84396513f6295d8c9e3eb73ea85db8f6a2f543a3
treedf6539dae9ace10b8391c22a52b5d8a5a8faa566
parentca98b7148b72ed5a697efc105b5f78064f6b52eb
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