Commit:     d791d413fd8527aa6b130882cc84d52aee0fe980
Parent:     b1847a041aba157bdf1643bd151e98dc44366b1c
Author:     Olaf Kirch <[EMAIL PROTECTED]>
AuthorDate: Fri Apr 13 01:18:44 2007 -0400
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Apr 13 18:35:39 2007 -0700

    DVB: dvb-usb-remote - fix oops when changing keymap
    DVB USB remotes do not support changing keycode maps but set
    input_dev->keycodesize and input_dev->keycodemax without setting
    input_dev->keycode. This causes kernel oops when user tries to
    look up (or change) current keymap.
    While the proper fix would be to make remotes handle keymap changes
    we'll just remove keycodemax and keycodesize initialization so
    Signed-off-by: [EMAIL PROTECTED]
    Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/media/dvb/dvb-usb/dvb-usb-remote.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-remote.c 
index 9511a31..68ed3a7 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
@@ -107,8 +107,6 @@ int dvb_usb_remote_init(struct dvb_usb_device *d)
                return -ENOMEM;
        input_dev->evbit[0] = BIT(EV_KEY);
-       input_dev->keycodesize = sizeof(unsigned char);
-       input_dev->keycodemax = KEY_MAX;
        input_dev->name = "IR-receiver inside an USB DVB receiver";
        input_dev->phys = d->rc_phys;
        usb_to_input_id(d->udev, &input_dev->id);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to