Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3931352rwi; Sat, 22 Oct 2022 02:25:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ruBTkNe3Dao3SELaQstZRAxfUtStsHHfBeZacmach3gVGRaUHq1eRIEBSS28A8RGaO0Sk X-Received: by 2002:a05:6a00:13a3:b0:563:6d36:ba58 with SMTP id t35-20020a056a0013a300b005636d36ba58mr23310243pfg.43.1666430749692; Sat, 22 Oct 2022 02:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666430749; cv=none; d=google.com; s=arc-20160816; b=ZGN/4IE/OlHVxaPfrshh2onvCXC3Sdf/Qmq44UvMv7NhxcfYG5CeictxAWTj96sL9B g8p90W4vxq1UFQG5dC5hgJwoW56Bns60tr/WnsvsFsKiBunhjv17ZUgEcXUTS6fFUV/K pzrTRr6r4s++Z1OPWkXV9u2qxKVXmlFSOekGTAnnuvkg+bZkh1mvO/U5c7+pKJNp2Vbu 7cGr9m+rtEzPOio00ak5VPEiwCgnlEXOeqUFtekWijs0Wr3oEF46A7HYqw13z8BqDeJ7 2LbcEOES96zh7DHGFuZWg0MPFWAmbFC4j9stKq/09dcz6UgWjMg8RmE2agC0Ohs5GsUA +esg== 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=LUZpSS3F/J9GvaNLVmavrxSqSTqBGYnpz0YIacWVlj0=; b=IEZGaBDGsoRlPdUywEceafX0Bi61833ohEOpqH8mDgxl4OtUxOppPVZqktb5pyEnZN 7EFG+wwu44lRbr3BKuk2cmFWCHXoZD5zgchZ0+61BsWuLQQit9s+0poVOuuYxlu7tHrF iPXGBnR1bQ1sK9gEsYA54Xlo4LQsK2atW+Wuai8WCJosUKI/U+2WPBJ4o5iSyIkg1BdQ htth0w3CJ/hJ3A8jUof4Swe29JRMDlz6XT/6blbisH4/D9Sg9g1QNusnVF5c0cCc+98Y piPPe5iDXyPmvnb+1Z+64TX51yrZ3fv0bpCgI8Jl72hd/9v6VbYIgKIGsifoRkIZohSf cYKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=U880E7Bf; 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 y12-20020a17090aa40c00b00209b614417esi2178343pjp.88.2022.10.22.02.25.38; Sat, 22 Oct 2022 02:25:49 -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=U880E7Bf; 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 S234938AbiJVIur (ORCPT + 99 others); Sat, 22 Oct 2022 04:50:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235183AbiJVItz (ORCPT ); Sat, 22 Oct 2022 04:49:55 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 852F1277A1D; Sat, 22 Oct 2022 01:11:13 -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 82C9CB82E40; Sat, 22 Oct 2022 08:08:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF05EC433C1; Sat, 22 Oct 2022 08:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666426084; bh=30oaRr/+0z675hWSv80pGu8HA4e+AOyozO+DFfi9qj8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=U880E7BfUUzLXmJsSAaaopKJqy3ZJfwYqIQdmf6VuXQ89FyPHteK/vFWURkP+aj03 ji/DZpFSbl1IPPke7jgEFZ9PdK/O6YKeog75CS5UE6HaHe0BkoK00s7cXzFyxy2rbT 4CHMg4jItEtvUd5j1DE6O+vX5jRncO5mZNpiOMmg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= , Jiri Kosina Subject: [PATCH 5.19 713/717] HID: uclogic: Add missing suffix for digitalizers Date: Sat, 22 Oct 2022 09:29:52 +0200 Message-Id: <20221022072530.001085316@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@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.3 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 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: José Expósito commit 0977fda0587cbc5403651ba169e264aa01e8a026 upstream. The Pen (0x02) application usage was changed to Digitalizer (0x01) in commit f7d8e387d9ae ("HID: uclogic: Switch to Digitizer usage for styluses"). However, a suffix was not selected for the new usage. Handle the digitalizer application usage in uclogic_input_configured() and add the required suffix. Signed-off-by: José Expósito Signed-off-by: Jiri Kosina Signed-off-by: Greg Kroah-Hartman --- drivers/hid/hid-uclogic-core.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/hid/hid-uclogic-core.c +++ b/drivers/hid/hid-uclogic-core.c @@ -153,6 +153,7 @@ static int uclogic_input_configured(stru suffix = "Pad"; break; case HID_DG_PEN: + case HID_DG_DIGITIZER: suffix = "Pen"; break; case HID_CP_CONSUMER_CONTROL: