diff mbox series

HID: i2c-hid: add Schneider SCL142ALM to descriptor override

Message ID 20200505151042.122157-1-jsbc@gmx.de (mailing list archive)
State Mainlined
Commit 6507ef10660efdfee93f0f3b9fac24b5e4d83e56
Delegated to: Jiri Kosina
Headers show
Series HID: i2c-hid: add Schneider SCL142ALM to descriptor override | expand

Commit Message

Julian Sax May 5, 2020, 3:10 p.m. UTC
This device uses the SIPODEV SP1064 touchpad, which does not
supply descriptors, so it has to be added to the override list.

Cc: stable@vger.kernel.org
Signed-off-by: Julian Sax <jsbc@gmx.de>
---
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c | 8 ++++++++
 1 file changed, 8 insertions(+)

--
2.26.2

Comments

Jiri Kosina May 5, 2020, 3:15 p.m. UTC | #1
On Tue, 5 May 2020, Julian Sax wrote:

> This device uses the SIPODEV SP1064 touchpad, which does not
> supply descriptors, so it has to be added to the override list.

Applied, thanks.
Sasha Levin May 6, 2020, 11:42 p.m. UTC | #2
Hi

[This is an automated email]

This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: all

The bot has tested the following trees: v5.6.10, v5.4.38, v4.19.120, v4.14.178, v4.9.221, v4.4.221.

v5.6.10: Build OK!
v5.4.38: Build OK!
v4.19.120: Failed to apply! Possible dependencies:
    eb6964fa6509 ("HID: i2c-hid: add iBall Aer3 to descriptor override")

v4.14.178: Failed to apply! Possible dependencies:
    eb6964fa6509 ("HID: i2c-hid: add iBall Aer3 to descriptor override")

v4.9.221: Failed to apply! Possible dependencies:
    eb6964fa6509 ("HID: i2c-hid: add iBall Aer3 to descriptor override")

v4.4.221: Failed to apply! Possible dependencies:
    00f7fea5da49 ("HID: i2c-hid: force the IRQ level trigger only when not set")
    01714a6f5fa5 ("HID: i2c-hid: Fix suspend/resume when already runtime suspended")
    070b9637dd8f ("HID: i2c-hid: Add RESEND_REPORT_DESCR quirk for Toshiba Click Mini L9W-B")
    2dcc8197fefc ("HID: i2c-hid: Silently fail probe for CHPN0001 touchscreen")
    3e83eda46705 ("HID: i2c-hid: Fix resume issue on Raydium touchscreen device")
    402946a8ef71 ("HID: i2c-hid: Add no-irq-after-reset quirk for 0911:5288 device")
    572d3c644497 ("HID: i2c-hid: support regulator power on/off")
    71af01a8c85a ("HID: i2c-hid: add a simple quirk to fix device defects")
    85ae91133152 ("HID: i2c-hid: remove custom locking from i2c_hid_open/close")
    8cd16166b000 ("HID: fix missing irq field")
    91b9ae48aadd ("HID: i2c-hid: move header file out of I2C realm")
    94116f8126de ("ACPI: Switch to use generic guid_t in acpi_evaluate_dsm()")
    9a327405014f ("HID: i2c-hid: Prevent sending reports from racing with device reset")
    9ee3e06610fd ("HID: i2c-hid: override HID descriptors for certain devices")
    b59dfdaef173 ("i2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array")
    b7fe92999a98 ("ACPI / extlog: Switch to use new generic UUID API")
    ba1660f1791f ("HID: i2c-hid: fix build")
    ba18a9314a94 ("Revert "HID: i2c-hid: Add support for ACPI GPIO interrupts"")
    d46ddc593f4d ("HID: i2c-hid: Disable IRQ before freeing buffers")
    eb6964fa6509 ("HID: i2c-hid: add iBall Aer3 to descriptor override")
    f8f807441eef ("HID: i2c-hid: Add Odys Winbook 13 to descriptor override")
    fc2237a724a9 ("HID: introduce hid_is_using_ll_driver")


NOTE: The patch will not be queued to stable trees until it is upstream.

How should we proceed with this patch?
diff mbox series

Patch

diff --git a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
index a66f08041a1a..ec142bc8c1da 100644
--- a/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
+++ b/drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c
@@ -389,6 +389,14 @@  static const struct dmi_system_id i2c_hid_dmi_desc_override_table[] = {
 		},
 		.driver_data = (void *)&sipodev_desc
 	},
+	{
+		.ident = "Schneider SCL142ALM",
+		.matches = {
+			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "SCHNEIDER"),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "SCL142ALM"),
+		},
+		.driver_data = (void *)&sipodev_desc
+	},
 	{ }	/* Terminate list */
 };