summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/ttpci
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2010-12-27 19:41:58 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-12-29 11:17:15 +0100
commit730726a6f90740a5954ca2fb1c74fad6f44a2c42 (patch)
tree0c934ed606f7a5e907ee573c1c02ab86d959757b /drivers/media/dvb/ttpci
parent[media] dabusb: Move it to staging to be deprecated (diff)
downloadlinux-730726a6f90740a5954ca2fb1c74fad6f44a2c42.tar.xz
linux-730726a6f90740a5954ca2fb1c74fad6f44a2c42.zip
[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/ttpci')
-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)
dev->input_phys = budget_ci->ir.phys;
dev->input_id.bustype = BUS_PCI;
dev->input_id.version = 1;
+ dev->scanmask = 0xff;
if (saa->pci->subsystem_vendor) {
dev->input_id.vendor = saa->pci->subsystem_vendor;
dev->input_id.product = saa->pci->subsystem_device;