Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1194872rwi; Wed, 19 Oct 2022 07:46:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7FHv9aeJHjB5hO2cec+0/xBkrs796YRd/5pHctH47//YjU5rjXQUhMPryuN/xVnqCN0eyy X-Received: by 2002:a05:6402:2802:b0:43a:9098:55a0 with SMTP id h2-20020a056402280200b0043a909855a0mr7677273ede.179.1666190761790; Wed, 19 Oct 2022 07:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666190761; cv=none; d=google.com; s=arc-20160816; b=SlfschrrnVEOdGvOJD1GljcnFI/yh5j6nsuVXMWLrPUwbVD5KTh+DZxD32zelTgQ11 YLpRXI4kd27Gw86iFqXqnL4Hz/yy2I364AQmLrsmqfbdvOCoRYrPHIekOxxKQbLyBIYj 2HqlNZshVhzNM6RfOq/QJTAjygN6u86Hu4afC19uJB8ERAuYbyzpwCDbT2ajLpTDk5yx IHZwrODFsgE+imXFs2T7cD+Pj1YWio6RqzMSKvFO+KxPUKWfp+XXObTHfA+TZg67LK8i ZmEFQlWQB+3e4yFruDGWnX+m9XImZ8jZufDwgneOVdcTA+n4+aj+4ssRzIX3xdGKHQJg vLlA== 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=JhGRPzV2jvcOIpGd5mdVOQUzXcbqUGxYfojZUvHwrj8=; b=d0rVrmIGLzBWemHYqo4P9CfCUY+QP1xibigJb8sjTfKyULYxUFghLSCQhqwF6c7EWO 4C6+LsKAGYy0uSfRtGNbP/3XgQZImnija4Z8i3d8thOp2qSRj5Zr28QK0uSfbJKx0wap tuG9bzmopkjgi1AD+qh3hsEn5hisB2YbIUkOXUBem16YWE7AOrv1GmZB+vu0eUHyEf+g p3lxEoyufECn/32777dMRNmmpEFRm7ph7dTdlbVV73JNND/UGlnobrQsGki07Deo9+I2 RroZgyyeGXu9S891aY4D/O85FI5c6TicsxYODxSNGhG8uHblwNBISKE6bLEh2V9VE4dg d7Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=E3IVwkHp; 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 e2-20020a056402148200b0045cf5a23477si13830686edv.56.2022.10.19.07.45.33; Wed, 19 Oct 2022 07:46:01 -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=E3IVwkHp; 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 S233060AbiJSNqb (ORCPT + 99 others); Wed, 19 Oct 2022 09:46:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233050AbiJSNpa (ORCPT ); Wed, 19 Oct 2022 09:45:30 -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 F2D911382E1; Wed, 19 Oct 2022 06:32:00 -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 5DA6EB82399; Wed, 19 Oct 2022 09:01:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B366CC433D6; Wed, 19 Oct 2022 09:01:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170099; bh=PrK2p4fymt8fUSfP4C7APe5C2pVVTGHBBgmiexJTfSY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E3IVwkHpH+7VmMp0kVWmWwCrcziy6tyaiTMQ6aKod5VYlfKt9hbL4LvG4ym83p+t/ mLe+drfJDH+Mtwj7u0dKHyvnFJ7PwjU+sCgjzLlC5nNelyzqdOxZraEXmAkrc++K9N MOm674OJYURydO+UcVUsd96wYVjqYsHT2DBXFGng= 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 , Sasha Levin Subject: [PATCH 6.0 480/862] HID: uclogic: Add missing suffix for digitalizers Date: Wed, 19 Oct 2022 10:29:27 +0200 Message-Id: <20221019083311.156155236@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@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.4 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 [ Upstream commit 0977fda0587cbc5403651ba169e264aa01e8a026 ] 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 Fixes: f7d8e387d9ae ("HID: uclogic: Switch to Digitizer usage for styluses") Signed-off-by: Sasha Levin 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: