]> git.baikalelectronics.ru Git - kernel.git/commit
[media] siano: use the newer stats message for recent firmwares
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 8 Mar 2013 00:58:47 +0000 (21:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Mar 2013 10:44:31 +0000 (07:44 -0300)
commit777744d55f70b83f91647eaa61f02f7f0a56970e
treeae1ea2de937bd003348e0ba3d2a9e473a13e5a4f
parent11f1715412cfec5c8e7fbac912ea64d31882b525
[media] siano: use the newer stats message for recent firmwares

The old statistics request don't work with newer firmwares.
Add a logic to use the newer stats if firmware major is 8.
Note that I have only 2 devices here, one with firmware 2.1
(Hauppauge model 55009 Rev B1F7) and another one with
firmware 8.1. We may need to adjust the firmware minimal
version for the *_EX message variants, as we start finding
firmware versions between 2.x and 8.x.
This patch was based on Doron Cohen patch:
http://patchwork.linuxtv.org/patch/7886/

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