From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 59891C433FE for ; Thu, 10 Dec 2020 13:09:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 221D723DA2 for ; Thu, 10 Dec 2020 13:09:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388709AbgLJNJT (ORCPT ); Thu, 10 Dec 2020 08:09:19 -0500 Received: from mail.kernelconcepts.de ([188.40.83.200]:47084 "EHLO mail.kernelconcepts.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387479AbgLJNJP (ORCPT ); Thu, 10 Dec 2020 08:09:15 -0500 X-Greylist: delayed 2315 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 Dec 2020 08:09:14 EST Received: from [144.76.69.73] (helo=[10.42.23.10]) by mail.kernelconcepts.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1knL52-0008Qn-6n; Thu, 10 Dec 2020 13:29:56 +0100 Message-ID: <724285f7c2d2544a11adfedf89aad1f9e8c684ca.camel@kernelconcepts.de> Subject: Re: [PATCH] Input: edt-ft5x06 - consolidate handling of number of electrodes From: Simon Budig To: Dmitry Torokhov , linux-input@vger.kernel.org Cc: Marco Felsch , Andy Shevchenko , Philipp Zabel , linux-kernel@vger.kernel.org Date: Thu, 10 Dec 2020 13:29:46 +0100 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Ws5Z8/jievU0ggPJF0Fx" User-Agent: Evolution 3.38.1-2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org --=-Ws5Z8/jievU0ggPJF0Fx Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2020-12-09 at 15:09 -0800, Dmitry Torokhov wrote: > Instead of using special-casing retrieval of number of X/Y electrodes > based on the firmware, let's select default values and mark registers > as > non-existent on firmwares that do not support this operation. >=20 > Also mark "report rate" register as non-existent for generic > firmwares as > having it set to 0 does not make sense. Looks good. Reviewed-by: Simon Budig Thanks, Simon --=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0kernel concepts GmbH Simon Bu= dig =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Hauptstra=C3=9Fe 16 sim= on.budig@kernelconcepts.de =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0D-57076 Siegen +49-271-= 771091-17 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0http://www.kernelconcepts.de/ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0HR Siegen, HR B 9613; Gesch=C3=A4ftsf=C3=BChr= er: Ole Reinhardt --=-Ws5Z8/jievU0ggPJF0Fx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQTPAwhwx6BA+WIUvUM7Y79Fd6yIcAUCX9IUugAKCRA7Y79Fd6yI cKkNAJ9X47tIpzA9rmLDBqWaGmWwxkHwLQCfYxfIA0F9eXbYcK3JOwYMtJv/KkY= =dH1+ -----END PGP SIGNATURE----- --=-Ws5Z8/jievU0ggPJF0Fx--