aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2010-12-27 13:41:58 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 05:17:15 -0500
commit730726a6f90740a5954ca2fb1c74fad6f44a2c42 (patch)
tree0c934ed606f7a5e907ee573c1c02ab86d959757b /drivers/media/dvb
parent2d5ca76f2b39a31313d7e54224c78b7b311e7dce (diff)
[media] DVB: Set scanmask for Budget/SAA7146 cards
These devices do not return the full command+address, so set scanmask accordingly. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/ttpci/budget-ci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c
index 8ae67c1751a9..b82756db5bd1 100644
--- a/drivers/media/dvb/ttpci/budget-ci.c
+++ b/drivers/media/dvb/ttpci/budget-ci.c
@@ -184,6 +184,7 @@ static int msp430_ir_init(struct budget_ci *budget_ci)
184 dev->input_phys = budget_ci->ir.phys; 184 dev->input_phys = budget_ci->ir.phys;
185 dev->input_id.bustype = BUS_PCI; 185 dev->input_id.bustype = BUS_PCI;
186 dev->input_id.version = 1; 186 dev->input_id.version = 1;
187 dev->scanmask = 0xff;
187 if (saa->pci->subsystem_vendor) { 188 if (saa->pci->subsystem_vendor) {
188 dev->input_id.vendor = saa->pci->subsystem_vendor; 189 dev->input_id.vendor = saa->pci->subsystem_vendor;
189 dev->input_id.product = saa->pci->subsystem_device; 190 dev->input_id.product = saa->pci->subsystem_device;