]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (13409): firedtv: packet requeuing is likely to succeed
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 18 Nov 2009 19:01:14 +0000 (16:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:44 +0000 (18:41 -0200)
commitac3b2a16607007e7514b2c18f924d2b5dbf55b1f
tree5a86b5661e363b3d1fd3ce5a3b25cf9c03b7ee64
parentc2e91c08e4e1919a79123dde0c2a25001901af20
V4L/DVB (13409): firedtv: packet requeuing is likely to succeed

Packet DMA buffers are queued either initially all at once (then, a
queueing failure will cause firedtv to release the DMA context as a
whole) or subsequently one by one as they recycled after use (then a
failure is extremely unlikely).  Therefore we can be a little less
cautious when counting at which packet buffer to set the interrupt flag.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/firewire/firedtv-fw.c