diff mbox

[1/2] hid-mosart: ignore buttons report

Message ID 1292252353-3029-2-git-send-email-benjamin.tissoires@enac.fr (mailing list archive)
State Accepted
Headers show

Commit Message

Benjamin Tissoires Dec. 13, 2010, 2:59 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/hid/hid-mosart.c b/drivers/hid/hid-mosart.c
index ac5421d..acd8a49 100644
--- a/drivers/hid/hid-mosart.c
+++ b/drivers/hid/hid-mosart.c
@@ -90,6 +90,10 @@  static int mosart_input_mapping(struct hid_device *hdev, struct hid_input *hi,
 	case 0xff000000:
 		/* ignore HID features */
 		return -1;
+
+	case HID_UP_BUTTON:
+		/* ignore buttons */
+		return -1;
 	}
 
 	return 0;