Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp362931rwe; Thu, 25 Aug 2022 01:27:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ZfkTDbYzExLfmZdaP0jxoEgSBrmTnfJ75uYcXRBrOKph64hwoQ6O9JT9C9AyR0SdMmc2j X-Received: by 2002:a63:5b65:0:b0:429:7548:a7bc with SMTP id l37-20020a635b65000000b004297548a7bcmr2420116pgm.617.1661416071671; Thu, 25 Aug 2022 01:27:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661416071; cv=none; d=google.com; s=arc-20160816; b=1KzXaTc6V99B3wq8MFTJ9ASk+SsRqNhlZ2U5rgtYnjcOQifwtZjPRE1tx2M7YGA5U/ M29CpPbefeR96LUTA04Q6c+GNl0Wc1l7szC/z2CPDhf3iF16uHrL5Ucr+DPkFy7NFg/8 g5eRZ9FQ+vkzvDONFbidUiMLCb4miBmaMJwAcUycIIJuF7uYf5+PKgUXdFPy0XlDcFZ3 3w49dzCwGOPuZ16MCN/lbDue1GCMua+nl3VXd8kozBTgn3l9Av6krYRpesPTaakcyXlX cUJsNUy0ZTXQyb97js199ELdusRkTrt5+WF6rogSVT7p6VKZI+uNTIpLa9IkZknOAABk 32vg== 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:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=7Yfp7maLVCeE8pAbvgVzwd9ZqLLEUbQJCK1dO/pmXUc=; b=feMCLOffzb/8CYNpt50rkzl+i2AFIMcjcTqXjgExNDVanIi8wExaYXPBDRKUnwUxtj zr15PkDhk6iazs2WxHg6qEJ0IdMIDqp0W/LGTaM0dvS0kjvOBtVFtEuPjoa44z4+hvQk +Z4F/fh2N1M/u4NJpG/+gbgXrLL8+LLnz2hDmyzv9pntSXezV0XiuW3h1Y1sx/MQ00us u7A0zqhQPqP4lCmQoBs6Jj4YEY6LiK3Qzh34BOowntaWQ91XtaT6PMZNV5Wlr9RDU97b xOBSBbpaiurLtBWzPy+gD31O1olewN+h52WSY75jnjFAY1qZz8TuYiU96LM/O6iM86gs f+xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C6Y5F6Td; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id mq5-20020a17090b380500b001f51e06c855si3530848pjb.184.2022.08.25.01.27.40; Thu, 25 Aug 2022 01:27:51 -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=@kernel.org header.s=k20201202 header.b=C6Y5F6Td; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237634AbiHYI0N (ORCPT + 99 others); Thu, 25 Aug 2022 04:26:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236230AbiHYIZs (ORCPT ); Thu, 25 Aug 2022 04:25:48 -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 64165A61D0; Thu, 25 Aug 2022 01:25:15 -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 C8369B825C6; Thu, 25 Aug 2022 08:25:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33959C433C1; Thu, 25 Aug 2022 08:25:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661415912; bh=+3nbUDEGFHWk7BXN0epNvlnSXMzGK3xJtVizdfnqTik=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=C6Y5F6TdMhjaHXDBt8319eHc36cT5d3h3VBOl2NdUXxuKtnMhdQDZEk6ezQcXs/J5 tl+o80MiQOmPjzyuuHcGZGRJ9qXK/rr8xi0tE4+m1Vh3ZbetWSC2JezIVvZ38ebBNp mf0nCJMtcchvzNRKCv2S86lDgQJGYbUG7+His1hly9Op/AWZ08rA00ksyumBYozxHG Hq0uz9QhGWwgGTM8hG3EXJFjNntxf2xGnBuvui3SrDMo4Salyxz8GYIvT5oxcPQ2I7 Jw8bn1dxCRWJz7oJmKZQrB4OJH/a+/Qe2qVz20pqm33RMiycnU5mzy6Ct9sqdxO10X Xpm+hCJoaCKRQ== Date: Thu, 25 Aug 2022 10:25:08 +0200 (CEST) From: Jiri Kosina To: =?ISO-8859-15?Q?Jos=E9_Exp=F3sito?= cc: benjamin.tissoires@redhat.com, spbnick@gmail.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND] HID: uclogic: Add missing suffix for digitalizers In-Reply-To: <20220815142615.17965-1-jose.exposito89@gmail.com> Message-ID: References: <20220815142615.17965-1-jose.exposito89@gmail.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) 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 On Mon, 15 Aug 2022, José Expósito wrote: > 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 > > --- > > Kindly resending this patch so it doesn't get lost after the merge > window. > --- > drivers/hid/hid-uclogic-core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hid/hid-uclogic-core.c b/drivers/hid/hid-uclogic-core.c > index 47a17375c7fc..ff46604ef1d8 100644 > --- a/drivers/hid/hid-uclogic-core.c > +++ b/drivers/hid/hid-uclogic-core.c > @@ -153,6 +153,7 @@ static int uclogic_input_configured(struct hid_device *hdev, > suffix = "Pad"; > break; > case HID_DG_PEN: > + case HID_DG_DIGITIZER: > suffix = "Pen"; > break; > case HID_CP_CONSUMER_CONTROL: Applied, thanks. -- Jiri Kosina SUSE Labs