[media] DVB: Set scanmask for Budget/SAA7146 cards
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 27 Dec 2010 18:41:58 +0000 (15:41 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:17:15 +0000 (08:17 -0200)
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>
drivers/media/dvb/ttpci/budget-ci.c

index 8ae67c1751a932a1a1260ccf60be0cdfec0604b1..b82756db5bd17aa2a870caf1fd4695777acbc3a4 100644 (file)
@@ -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;