b931b147da
- surface-acpi: - integrate dGPU hot-plug system - fix MODULE_ALIAS definitions for auto-loading SID battery and ac drivers - disable DMA for surface3-spi touchscreen driver - new wifi suspend patch (only 5.3/5.4) - ipts: - do not automatically switch sensor modes (only 5.3)
28 lines
916 B
Diff
28 lines
916 B
Diff
From 36d79941fc26dde7702139c3df51a6f4dc54b64f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= <blaz@mxxn.io>
|
|
Date: Wed, 6 Nov 2019 19:43:26 +0900
|
|
Subject: [PATCH 03/10] hid
|
|
|
|
---
|
|
drivers/hid/hid-core.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
|
|
index 12149c5c39e4..dea1f9139b5c 100644
|
|
--- a/drivers/hid/hid-core.c
|
|
+++ b/drivers/hid/hid-core.c
|
|
@@ -781,6 +781,10 @@ static void hid_scan_feature_usage(struct hid_parser *parser, u32 usage)
|
|
if (usage == 0xff0000c5 && parser->global.report_count == 256 &&
|
|
parser->global.report_size == 8)
|
|
parser->scan_flags |= HID_SCAN_FLAG_MT_WIN_8;
|
|
+
|
|
+ if (usage == 0xff0000c6 && parser->global.report_count == 1 &&
|
|
+ parser->global.report_size == 8)
|
|
+ parser->scan_flags |= HID_SCAN_FLAG_MT_WIN_8;
|
|
}
|
|
|
|
static void hid_scan_collection(struct hid_parser *parser, unsigned type)
|
|
--
|
|
2.24.1
|
|
|