Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3014986rwb; Mon, 15 Aug 2022 16:11:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR5cP1SJc2Pdw4QZC2c/t/mE6FiSumTa1NpbkiXXDXUDd6IbzqdcAP5P/reBVHwsG4LCcPfB X-Received: by 2002:a17:906:6a28:b0:731:48a0:71d with SMTP id qw40-20020a1709066a2800b0073148a0071dmr11421885ejc.249.1660605065689; Mon, 15 Aug 2022 16:11:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605065; cv=none; d=google.com; s=arc-20160816; b=HKn5tkaiVB/2sfw2fFqUG71LKtLu96E+afiUM+521UMXeA22No1IXljs3SyDvDySeF Q0KGZBtx2RuQ2vq1VrJAhI9vw5VegRuJJDPqPu0tgmv27fCrlkKgIAMl8p9R/wtWKFEz oxk6BlQoYKpOgMOjp3Iy5jiKm06tDN1VJIoO5u/WTA9lNEyuDswrNe251Gqz/DF26+HY giOhj3AEowqy9FLnDWKrSZuvbVTf30b+0A9YXcaikzIm03QbZgAmRr8wEcUmhpgxEy5n TOMDlyIQaRkE61JbXgfmEUcuVkBnb4OtJye3h4acDgYgi97w8exzQ4G3gC+A7c+FmTS5 Suwg== 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=0hZq+fEf5rTtexmePwI62ab3PKlRSkneaJnvzE+rC9s=; b=x93qi3XY9f6AbHi3Lu3BygHWK567Df0vquuIdWAnb1rnGATV22R12c2972z6RDUAeB BnYh7Ke5C/0BVoJzA39CUJtyhooSgb6acu1wNvESBkGdmD7V1vAYC9rJvXzf7AsvJSPN mmR8U5EJKMrGz1CEe5PWv+xACWd8XesXAZILML97vhlkqYNkTYuhXDv0GHWh4Uwqr2me ILFCpzly3OKq3RMDPPgxINbNoBQ09iMUFzFqKPxFsUZrF4xP6Yv64meDUXSnzO523u5U cZ35rvJJyNoXh2+oB66rNxFT8CHXui3bqOvqJ2ndJG5zVpXdS8JIdGnqxYZ2pOt8E5BP MqHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gJVq61s1; 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 b8-20020a056402278800b0043dd6d38021si9420578ede.243.2022.08.15.16.10.40; Mon, 15 Aug 2022 16:11:05 -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=gJVq61s1; 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 S1350037AbiHOWVn (ORCPT + 99 others); Mon, 15 Aug 2022 18:21:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350296AbiHOWRn (ORCPT ); Mon, 15 Aug 2022 18:17:43 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E71D10775B; Mon, 15 Aug 2022 12:40:58 -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 6E098B80EAD; Mon, 15 Aug 2022 19:40:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1022C433D6; Mon, 15 Aug 2022 19:40:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660592442; bh=LlWXzo+ay1TYd13G3nCLValj8epFIQqO5xQfwJDSVxY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gJVq61s1iYWByH/Ua3yCmkTi4TFPaDYdUObD9/STixXhubapvQ5i//NLTy/Xc7kQk b7SfmjtA7Zj3aNB/xiwgWvdSR79pv0Heo17XBmyCGfBigaREg8dBB/3ZmWtdhZKLbk 9Ze2RN+aHW1hiAYQm9QDqyBvOKCVVP25a74gP4bA= 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 5.18 0787/1095] HID: alps: Declare U1_UNICORN_LEGACY support Date: Mon, 15 Aug 2022 20:03:06 +0200 Message-Id: <20220815180501.807620995@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 2b986d0dbde4..db146d0f7937 100644 --- a/drivers/hid/hid-alps.c +++ b/drivers/hid/hid-alps.c @@ -830,6 +830,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