]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb1d33f4b0ae319ca79b6bafd6e815cbe0dcd7c14
tree5a86b5661e363b3d1fd3ce5a3b25cf9c03b7ee64
parenta8aeb7836edac3e0cce1286eefbca793c54cbad0
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