]> git.baikalelectronics.ru Git - kernel.git/commit
[media] b2c2: Add option to skip the first 6 pid filters
authorJemma Denson <jdenson@gmail.com>
Sat, 30 May 2015 18:10:06 +0000 (15:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 9 Jun 2015 23:57:56 +0000 (20:57 -0300)
commit47aae8675567a9ebe23d2fc52b8f925278cff5b0
tree7cc11afb150470043ff303ff21e424d513470507
parentc2c00e0fb7b65a5aba470064f67786c87a3cc186
[media] b2c2: Add option to skip the first 6 pid filters

The flexcop bridge chip has two banks of hardware pid filters -
an initial 6, and on some chip revisions an additional bank of 32.

A bug is present on the initial 6 - when changing transponders
one of two PAT packets from the old transponder would be included
in the initial packets from the new transponder. This usually
transpired with userspace programs complaining about services
missing, because they are seeing a PAT that they would not be
expecting. Running in full TS mode does not exhibit this problem,
neither does using just the additional 32.

This patch adds in an option to not use the inital 6 and solely use
just the additional 32, and enables this option for the SkystarS2
card. Other cards can be added as required if they also have
this bug.

Signed-off-by: Jemma Denson <jdenson@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/common/b2c2/flexcop-common.h
drivers/media/common/b2c2/flexcop-fe-tuner.c
drivers/media/common/b2c2/flexcop-hw-filter.c