You can pull this changeset from:
        bk://kernel.bkbits.net/vojtech/for-linus

===================================================================

[EMAIL PROTECTED], 2005-01-29 13:09:24+01:00, [EMAIL PROTECTED]
  input: Ignore non-LED events in hid-input hidinput_event(). This gets rid
         of the "event field not found" message caused by EV_MSC type events.
  
  Signed-off-by: Vojtech Pavlik <[EMAIL PROTECTED]>


 hid-input.c |    3 +++
 1 files changed, 3 insertions(+)

===================================================================

diff -Nru a/drivers/usb/input/hid-input.c b/drivers/usb/input/hid-input.c
--- a/drivers/usb/input/hid-input.c     2005-01-29 17:37:11 +01:00
+++ b/drivers/usb/input/hid-input.c     2005-01-29 17:37:11 +01:00
@@ -492,6 +492,9 @@
        if (type == EV_FF)
                return hid_ff_event(hid, dev, type, code, value);
 
+       if (type != EV_LED)
+               return -1;
+
        if ((offset = hid_find_field(hid, type, code, &field)) == -1) {
                warn("event field not found");
                return -1;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to