Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3411985rwa; Tue, 23 Aug 2022 04:28:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR7u2t2v91b8Vd8xigwmWU5KAcx0Re9cGioN7AowP6SqdMdNQATKmNr6afme8kYjaWUioBph X-Received: by 2002:a17:902:b10c:b0:172:f7d5:5bf1 with SMTP id q12-20020a170902b10c00b00172f7d55bf1mr5380213plr.127.1661254088721; Tue, 23 Aug 2022 04:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661254088; cv=none; d=google.com; s=arc-20160816; b=mpY5DDw5sPkDUCfHvPos17MUFJNBA5XODzNzmh/EA5HQxTdbwrUhypPM0Pc418WZiL ak6D7gEaVULqks0QPj12N++ad3X01ApIj1/wSxuTM5pMV4lUXZaE+pjQpbJaxxN1mspp 265ik9I1FswZgna2VBA1myzz62S642ON+C0exWaESgyx7mX8E56afaFAowZrNDopt8p5 oa7RCMUhZh4oiwXEYRlZpZVYGlpMD+K2naZceNQAMh8lvx5S5IAD2D3NHei6dbZNpmdO y5t34TsjNXP0PNU1PukB6cdcG2/S5MyWL602+CI69luZfkUhsCTSMNBgMISKno3Wu/Wc GwwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Z5OLWvMdqR7l8ZcRuP5S6kpsj2huXvbnaOkBYjGXp4M=; b=icOXMzr3it4tLfiM7CAwLiUJG3GvzAocQpl1iCcmcm08Ibo65aeR5T20gURLOQf4iO vIV9zlFLScaxZT1YdedGNmuwu67hMc2L1wpbawr8FRrGvikQaz/LYIbzuVdQw745wbeT BsVs3IGDQSh/KfqC6qZHXTJ18JYnbW/vEbd6r9Hp4BqLxaEymZBllXAf2AyTsNZINAO6 tA07G0JIjMCUicKpao5u9r9ahIO+P9zGpX/Phy0hwd8Xc8fgQIXsxnaCERf0yQJ1hey5 7FAxTw63Z/usoWAWotx6iapiO961iOe2weq1pKYdFAwlA2RlOvEyrBSdynqmXHDhFvor UXlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JUbkabSo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a17090301ce00b001713d5d096esi11204350plh.14.2022.08.23.04.27.57; Tue, 23 Aug 2022 04:28:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JUbkabSo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355889AbiHWKp3 (ORCPT + 99 others); Tue, 23 Aug 2022 06:45:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355158AbiHWKh6 (ORCPT ); Tue, 23 Aug 2022 06:37:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3B43A6C50; Tue, 23 Aug 2022 02:07:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DB881B81C4E; Tue, 23 Aug 2022 09:07:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E27FC433C1; Tue, 23 Aug 2022 09:07:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661245650; bh=suZdBRjpDXFWDEa7jpSVWd8gmAmyH/rauzQmD1kwnvE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JUbkabSoxxXdeArssyE7Ch5JJeBargAo44sCH6V5lyNH1aKX5hefwzC+6ljlOPWWl MvtM5mUfCSWdzNtQjdX6dVA/MYU5u6h6f59f+u5O+3LkkdJBGoZrF5d+xftdTy2NL6 bk7GrKHm7CVXOBhlUfLGa2xlKj23M4wR9E7QENWU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Artem Borisov , Jiri Kosina , Sasha Levin Subject: [PATCH 4.19 138/287] HID: alps: Declare U1_UNICORN_LEGACY support Date: Tue, 23 Aug 2022 10:25:07 +0200 Message-Id: <20220823080105.120210342@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080100.268827165@linuxfoundation.org> References: <20220823080100.268827165@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Artem Borisov [ 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 Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin --- 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 3eddd8f73b57..116ece4be2c9 100644 --- a/drivers/hid/hid-alps.c +++ b/drivers/hid/hid-alps.c @@ -835,6 +835,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