HID: surface-hid: Allow driver matching for target ID 1 devices
authorMaximilian Luz <luzmaximilian@gmail.com>
Thu, 21 Oct 2021 13:09:04 +0000 (15:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:15:59 +0000 (19:15 +0100)
commit2c7f6d6154c41154d851c4bded00d4ae411932aa
tree1d6889cc686c33b992b4d39440e3a7e894ea38f7
parent31d61c42f116133b86fe5bacb1dad1feaca666ca
HID: surface-hid: Allow driver matching for target ID 1 devices

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@vger.kernel.org # 5.14+
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20211021130904.862610-4-luzmaximilian@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/surface-hid/surface_hid.c