]> git.baikalelectronics.ru Git - kernel.git/commit
[media] siano: Only feed DVB data when there's a feed
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 15 Mar 2013 10:22:08 +0000 (07:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:52:05 +0000 (07:52 -0300)
commit26b67c73ff575f508de22374e48a2e91819179cd
treebea25ec75888d5ebb77ddbd0a7fb75dcbcab31c9
parentb134cbdab9566cf3864eff45e18e0f0d1b412b56
[media] siano: Only feed DVB data when there's a feed

Right now, the driver sends DVB data even before tunning.
It was noticed that this may lead into some mistakes at DVB
decode, as the PIDs from wrong channels may be associated with
another frequency, as they may already be inside the PID buffers.
So, prevent it by not feeding DVB demux with data while there's no
feed or while the device is not tuned.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/siano/smsdvb-main.c
drivers/media/common/siano/smsdvb.h