Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp779635rwl; Wed, 12 Apr 2023 04:08:47 -0700 (PDT) X-Google-Smtp-Source: AKy350Za2b49tzCXWD1S3Otyp3Jnq/MNjE+V8W7kAinyItfdUdiIkhco2reCSBf42aM7pZnpBdoj X-Received: by 2002:a17:902:f687:b0:19a:9859:be26 with SMTP id l7-20020a170902f68700b0019a9859be26mr2764824plg.22.1681297726785; Wed, 12 Apr 2023 04:08:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681297726; cv=none; d=google.com; s=arc-20160816; b=XzL/Y9HgHPV2V9jen6Hp3vrRpBTsXtRBN6pthNOCfM2IDFx8UqNgnWek1nUzD6ynkF /hWrrakQQZkp5uIpkQtNtCrse5mUwFiMOLzDNCk0bJztjMv7hnIxWbcDIyvLUrd9DcP6 P6Hnx1HYCSeeo+ARB0ndYefNURMlogataF5Bhoa6qORAhP8bi44flD4jL+ZpKYbvFtLv V99hl4SwPhTzJhT0TDRPM1OnKwbHQQpxJp4AHZYvV9UXf7RtTBSrsKshTXltbXP9Eyyt XlfiXQ0+cTRaH4YjwhRkR2ijI8w4dLT19mHkBpMQCvewwT9ftcxG9tN3DniXO1bVxqPM 1smg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=rw7S/JgA2JrMVobRPddZrjcohJoirU+TUYEN/TSwRsY=; b=Ga6ZsFJY4aoDYQhlepB5lfAXRZ3okda8oRMEowI0l9PXi62+FS7FwQaNi5LYubfz91 mQlfabb3Qz9oNc1h8z5RuzKc1nZPo4sJi7luUAusrSH6j/lauyEGheitxMgVMJET8JHW bGsbp68CW3iydFD8pV9U+aN+i1jipGjfxVlcE3cyCHl+z7gdOLxDcvwFPaushKdX9PFX FB1GSTLseSzCd1Y5dPathvZ0mWF67dZw1HCwAYcnauwURL2dYJ17vK9NMcpOdsJR8jki vuj/bgwo+VyXUclMhgNqwbk6WRiSvHEnOHJogYvd1bZXvI4Jgf1+dlr47RuhDprKbRDe oQvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=wiCJiNgW; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=FiMNbLiY; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a170902d49100b001a20c983d1dsi17424821plg.618.2023.04.12.04.08.34; Wed, 12 Apr 2023 04:08:46 -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=@alistair23.me header.s=fm3 header.b=wiCJiNgW; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=FiMNbLiY; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229828AbjDLLG4 (ORCPT + 99 others); Wed, 12 Apr 2023 07:06:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229536AbjDLLGz (ORCPT ); Wed, 12 Apr 2023 07:06:55 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6842B6A5F; Wed, 12 Apr 2023 04:06:53 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 1EA923200971; Wed, 12 Apr 2023 07:06:50 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute5.internal (MEProxy); Wed, 12 Apr 2023 07:06:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1681297609; x= 1681384009; bh=rw7S/JgA2JrMVobRPddZrjcohJoirU+TUYEN/TSwRsY=; b=w iCJiNgWhSUXtMxgR2cclqjoBX7mZ+9xy/hZO2yd6asjOPKqakUPvxUGrC1EmJbaF J+bnftwP/dp2L5CcgDrGEHR6CiPKzXrSrkeiunW5tzPbQzbGIiw7FYeZ9xo+njFJ K3sN67Zpd1+1HbQSpySMP24WDa4KsZUaS4xWSQtwjMryzcTCsewHJwRMwySyiaxy IoRsv95Wko+SIPRyvutYFaGFEiQOjI4QBWzHiMMXwlj+cajjxUBWNAtUC6N8PUqF zqj3Q367PNhZMRdYXH+i6gnl7N/cCFAoSLO6CtTZdi31TnZK4rF2rIJmsIduOhIH YwJ2C0js5apLC9tgNBxDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1681297609; x=1681384009; bh=rw7S/JgA2JrMV obRPddZrjcohJoirU+TUYEN/TSwRsY=; b=FiMNbLiY/Fg0H4UWtb83QFXwA0Uca bPtZcwAqeNhcwQWnSXEP+O6c8gwTA7AoAv2GqCjvITAI/sRcR3hyTU7n1ejWMw/j G3dpTNcEB9nSOatWE6xEg2rlTecibkVxnMOwDos9Oqh+DY7620mDxiVRbzJqRvBM 8mZCaqiUq3Wc9/vuLxkIX/2k8LZbUK0LnLMQiQoOrLqUQU8CsXqvKOYGXXnadh9x 92IK8G0g+Fwyo9Q0GVIgJcE1qm9Pdbj1lwMydxwh3LkE28eqxFHmY7xp+aMZ/ND5 rQWftFKHTCNeC2mckVQQm53aK4Ogw/mHkQjDfOhSTX1wxxRbjyUdEcNAQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekiedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpeetlhhi shhtrghirhcuoegrlhhishhtrghirhesrghlihhsthgrihhrvdefrdhmvgeqnecuggftrf grthhtvghrnhepueekffekhfejteehtdeigedujeevvdfhjeelkeehfefhudffhfejgfej ieehhefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghlihhsthgrihhrsegrlhhishhtrghirhdvfedrmhgv X-ME-Proxy: Feedback-ID: ifd214418:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 73C162D40074; Wed, 12 Apr 2023 07:06:49 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-334-g8c072af647-fm-20230330.001-g8c072af6 Mime-Version: 1.0 Message-Id: <8113942f-589f-4834-9ecf-7f611af82819@app.fastmail.com> In-Reply-To: <20230411211651.3791304-1-git@hrdl.eu> References: <20230411211651.3791304-1-git@hrdl.eu> Date: Wed, 12 Apr 2023 21:06:29 +1000 From: Alistair To: hrdl , "Linus Walleij" , "Dmitry Torokhov" Cc: linux-input@vger.kernel.org, "Linux Kernel Mailing List" Subject: Re: [PATCH] Input: cyttsp5 - fix sensing configuration data structure Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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 Wed, 12 Apr 2023, at 7:16 AM, hrdl wrote: > Prior to this patch, the sensing configuration data was not parsed > correctly, breaking detection of max_tch. The vendor driver includes > this field. This change informs the driver about the correct maximum > number of simultaneous touch inputs. > > Tested on a Pine64 PineNote with a modified touch screen controller > firmware. > > Signed-off-by: hrdl Reviewed-by: Alistair Francis Alistair > --- > drivers/input/touchscreen/cyttsp5.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/input/touchscreen/cyttsp5.c b/drivers/input/touchscreen/cyttsp5.c > index 16caffa35dd9..30102cb80fac 100644 > --- a/drivers/input/touchscreen/cyttsp5.c > +++ b/drivers/input/touchscreen/cyttsp5.c > @@ -111,6 +111,7 @@ struct cyttsp5_sensing_conf_data_dev { > __le16 max_z; > u8 origin_x; > u8 origin_y; > + u8 panel_id; > u8 btn; > u8 scan_mode; > u8 max_num_of_tch_per_refresh_cycle; > -- > 2.39.2 > >