Re: Linux 2.6.15-rc2
From: Dmitry Torokhov
Date: Sun Nov 20 2005 - 11:13:06 EST
On Sunday 20 November 2005 08:20, Michael Geithe wrote:
> Hi,
> i get this after plugged in dvb-t/Cinergy T2 with Kernel 2.6.15-git*/rc*.
>
Hm, is there one driver in drivers/media that I left working? Please
try the patch below.
--
Dmitry
Subjtect: Fix an OOPS is CinergyT2
Fix an OOPS is CinergyT2 driver when registering IR remote
Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
---
drivers/media/dvb/cinergyT2/cinergyT2.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: work/drivers/media/dvb/cinergyT2/cinergyT2.c
===================================================================
--- work.orig/drivers/media/dvb/cinergyT2/cinergyT2.c
+++ work/drivers/media/dvb/cinergyT2/cinergyT2.c
@@ -772,7 +772,7 @@ static int cinergyt2_register_rc(struct
input_dev->name = DRIVER_NAME " remote control";
input_dev->phys = cinergyt2->phys;
input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REP);
- for (i = 0; ARRAY_SIZE(rc_keys); i += 3)
+ for (i = 0; i < ARRAY_SIZE(rc_keys); i += 3)
set_bit(rc_keys[i + 2], input_dev->keybit);
input_dev->keycodesize = 0;
input_dev->keycodemax = 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/