Patch "HID: surface-hid: Allow driver matching for target ID 1 devices" has been added to the 5.14-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    HID: surface-hid: Allow driver matching for target ID 1 devices

to the 5.14-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     hid-surface-hid-allow-driver-matching-for-target-id-1-devices.patch
and it can be found in the queue-5.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From ab5fe33925c6b03f646a1153771dab047548e4d8 Mon Sep 17 00:00:00 2001
From: Maximilian Luz <luzmaximilian@xxxxxxxxx>
Date: Thu, 21 Oct 2021 15:09:04 +0200
Subject: HID: surface-hid: Allow driver matching for target ID 1 devices

From: Maximilian Luz <luzmaximilian@xxxxxxxxx>

commit ab5fe33925c6b03f646a1153771dab047548e4d8 upstream.

Until now we have only ever seen HID devices with target ID 2. The new
Surface Laptop Studio however uses HID devices with target ID 1. Allow
matching this driver to those as well.

Cc: stable@xxxxxxxxxxxxxxx # 5.14+
Signed-off-by: Maximilian Luz <luzmaximilian@xxxxxxxxx>
Acked-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20211021130904.862610-4-luzmaximilian@xxxxxxxxx
Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>
Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/hid/surface-hid/surface_hid.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/hid/surface-hid/surface_hid.c
+++ b/drivers/hid/surface-hid/surface_hid.c
@@ -230,7 +230,7 @@ static void surface_hid_remove(struct ss
 }
 
 static const struct ssam_device_id surface_hid_match[] = {
-	{ SSAM_SDEV(HID, 0x02, SSAM_ANY_IID, 0x00) },
+	{ SSAM_SDEV(HID, SSAM_ANY_TID, SSAM_ANY_IID, 0x00) },
 	{ },
 };
 MODULE_DEVICE_TABLE(ssam, surface_hid_match);


Patches currently in stable-queue which might be from luzmaximilian@xxxxxxxxx are

queue-5.14/platform-surface-aggregator_registry-add-support-for-surface-laptop-studio.patch
queue-5.14/hid-surface-hid-allow-driver-matching-for-target-id-1-devices.patch
queue-5.14/hid-surface-hid-use-correct-event-registry-for-managing-hid-events.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux