diff mbox

Commit c64f6f934c7490faff76faf96217066a1b3570a0 breaks my MosArt touchscreen

Message ID alpine.LNX.2.00.1103091321080.19969@pobox.suse.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Jiri Kosina March 9, 2011, 12:28 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;