[media] Speed up DVB TS stream delivery from DMA buffer into dvb-core's buffer
authorMarko Ristola <marko.ristola@kolumbus.fi>
Fri, 8 Apr 2011 15:40:51 +0000 (12:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:48 +0000 (09:28 -0300)
commit38e009aac9e02d2c30fd9a5e979ab31433e7d578
treebaad2ab0209a7c70a927106d6640064fd580df50
parent3f84a4e1c1b785ff5dd3952cb2d4b3008b68ae45
[media] Speed up DVB TS stream delivery from DMA buffer into dvb-core's buffer

Avoid unnecessary DVB TS 188 sized packet copying from DMA buffer into stack.
Backtrack one 188 sized packet just after some garbage bytes when possible.
This obsoletes patch https://patchwork.kernel.org/patch/118147/

Signed-off-by: Marko Ristola <marko.ristola@kolumbus.fi>
Acked-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_demux.c