lkml.org 
[lkml]   [2022]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 191/389] HID: alps: Declare U1_UNICORN_LEGACY support
    Date
    From: Artem Borisov <dedsa2002@gmail.com>

    [ Upstream commit 1117d182c5d72abd7eb8b7d5e7b8c3373181c3ab ]

    U1_UNICORN_LEGACY id was added to the driver, but was not declared
    in the device id table, making it impossible to use.

    Fixes: 640e403 ("HID: alps: Add AUI1657 device ID")
    Signed-off-by: Artem Borisov <dedsa2002@gmail.com>
    Signed-off-by: Jiri Kosina <jkosina@suse.cz>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/hid/hid-alps.c | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/drivers/hid/hid-alps.c b/drivers/hid/hid-alps.c
    index 2477b2a3f7c3..464a48906d01 100644
    --- a/drivers/hid/hid-alps.c
    +++ b/drivers/hid/hid-alps.c
    @@ -831,6 +831,8 @@ static const struct hid_device_id alps_id[] = {
    USB_VENDOR_ID_ALPS_JP, HID_DEVICE_ID_ALPS_U1_DUAL) },
    { HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY,
    USB_VENDOR_ID_ALPS_JP, HID_DEVICE_ID_ALPS_U1) },
    + { HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY,
    + USB_VENDOR_ID_ALPS_JP, HID_DEVICE_ID_ALPS_U1_UNICORN_LEGACY) },
    { HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY,
    USB_VENDOR_ID_ALPS_JP, HID_DEVICE_ID_ALPS_T4_BTNLESS) },
    { }
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-08-23 13:35    [W:4.930 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site