Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1066708rwb; Tue, 29 Nov 2022 08:34:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf5X3Djz2YrK1XS02PBnR425uCIPSsQ7Hi/b6mcfYGOKhf0Q5ZgHNuLUfduxQB3oX6gqlEPP X-Received: by 2002:a17:902:ce86:b0:189:48b0:807 with SMTP id f6-20020a170902ce8600b0018948b00807mr31059815plg.81.1669739666017; Tue, 29 Nov 2022 08:34:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669739666; cv=none; d=google.com; s=arc-20160816; b=SXjlm0Ea0Dmyi0Cdw0sUVATi5t1rr42DJU0dmUj2XPjPgRFXFr549hRaYdPB8KLxVM 5j7hwrOE6qi5XAXLVpi/6yco+v5rZM+sEPcOeC5Jqx2Ko1IjOtuB8wKrJtTA2suU22f6 MbB4Dhem11jATvky0xCqn51MAMnJHLfn4ocRO32wEVJa0enwesdFAeo8m9iT6cZWpj98 FCNGrmUdHEQ/k4Wfm4v2iAv0qVtF+sQINxu6uMLOCWlPW5x7vzpKBmpjc47OxGvsk6K2 EtPYp419LstmcX734JbOqrQgI9zcCUDZknagjaen1UONmUomDqgzH+lh/RwIxzX5iKDL 34IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=JNM67cxUDG28BWQNio+bAca34Sem7iVeJ65plJD3OeI=; b=xDQ67QIdNAT3UaWVbxbrFYkh+DYZ4tB2U5LXGGM9YPKGPJjz7iWTa93fvXwKQNngx/ 9rjQEFlm1F0fyIWSZIzK1L77DdCdXy9g4a1H7/uHTrRl3/a3R+ajWl7mEqtyEMvUG6TC ZV+mrOhpuoGNjWMh6uDr2En28bOWTlbHDdt3r4KAEgD2OGnfV2APN2Ybdum7pRCU/ObS j4ffxJw70hn0ZnfEyYbTGqBbzv09/LD8ewNzwpNSX3gZfrZClCef8locOfwwymR5a71t MXCcdFyU8Ssuak/R7QZFXI31zQ5j9a0tNa1ZeZMiurFsyJpN0+Xnu9Q2VOsmalOpKYgq d67Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gyWKpXq3; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h184-20020a6253c1000000b005732e831bbbsi14042436pfb.336.2022.11.29.08.34.07; Tue, 29 Nov 2022 08:34:25 -0800 (PST) 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=@intel.com header.s=Intel header.b=gyWKpXq3; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232871AbiK2QYi (ORCPT + 85 others); Tue, 29 Nov 2022 11:24:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235572AbiK2QYc (ORCPT ); Tue, 29 Nov 2022 11:24:32 -0500 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89DE85F85C; Tue, 29 Nov 2022 08:24:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669739071; x=1701275071; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5q6aJCFVWUP0NkYQCOW+dWlUYCqc3lUwB5q4NpyiI3A=; b=gyWKpXq3suxabw+XePH6LJ6Nx6z73AyYqK/nGtTCIDn31ANXfUuUb5ak cEEXT/qJ6BdagyTGQ3MB+HJMHK3Q7fbCoZSpYERNonej5u/yCqsic6NlR d58lVh27yXKnmBTicGt2EmH+7++7TzU8bSdPF+k58EkXnMJkaXKkWxPdh Eo5GXqdVMkfyU9udTHAkEcgnoI/4HipsfoqeMF0zsyPvy9M4pnAoiT1LY 9sKq0YL0S0nm+DrGsBK8fGKB5Fta0Za3QlQYqYS4Rpueci1vacZvbkIA6 Xxc2fEkpLfKm6rZ3GusyHj+yG6CtnUpdAZYMG2qBcoll02u9uxrRk/kBb g==; X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="313853657" X-IronPort-AV: E=Sophos;i="5.96,203,1665471600"; d="scan'208";a="313853657" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2022 08:24:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="818271271" X-IronPort-AV: E=Sophos;i="5.96,203,1665471600"; d="scan'208";a="818271271" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga005.jf.intel.com with ESMTP; 29 Nov 2022 08:24:27 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1p03PG-001mbK-03; Tue, 29 Nov 2022 18:24:26 +0200 Date: Tue, 29 Nov 2022 18:24:25 +0200 From: Andy Shevchenko To: Luca Ellero Cc: dmitry.torokhov@gmail.com, daniel@zonque.org, m.felsch@pengutronix.de, u.kleine-koenig@pengutronix.de, mkl@pengutronix.de, miquel.raynal@bootlin.com, imre.deak@nokia.com, luca.ellero@brickedbrain.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] ads7846: always set last command to PWRDOWN Message-ID: References: <20221129151959.26052-1-l.ellero@asem.it> <20221129151959.26052-3-l.ellero@asem.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221129151959.26052-3-l.ellero@asem.it> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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 Tue, Nov 29, 2022 at 04:19:58PM +0100, Luca Ellero wrote: > Controllers that report pressure (e.g. ADS7846) use 5 commands and the > correct sequence is READ_X, READ_Y, READ_Z1, READ_Z2, PWRDOWN. > > Controllers that don't report pressure (e.g. ADS7845/ADS7843) use only 3 > commands and the correct sequence should be READ_X, READ_Y, PWRDOWN. But > the sequence sent was incorrect: READ_X, READ_Y, READ_Z1. Besides the same comments as per patch 1... > This patch fixes it. "Fix this by..." (finish this with the correct wording). -- With Best Regards, Andy Shevchenko