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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A04B6E7D258 for ; Tue, 26 Sep 2023 08:24:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233835AbjIZIYF (ORCPT ); Tue, 26 Sep 2023 04:24:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233905AbjIZIYE (ORCPT ); Tue, 26 Sep 2023 04:24:04 -0400 X-Greylist: delayed 512 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 26 Sep 2023 01:23:57 PDT Received: from mail11.truemail.it (mail11.truemail.it [IPv6:2001:4b7e:0:8::81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D90310A for ; Tue, 26 Sep 2023 01:23:57 -0700 (PDT) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id C79DC206E5; Tue, 26 Sep 2023 10:15:39 +0200 (CEST) Date: Tue, 26 Sep 2023 10:15:38 +0200 From: Francesco Dolcini To: Emanuele Ghidoli Cc: Dmitry Torokhov , Emanuele Ghidoli , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Joe Hung Subject: Re: [PATCH v2 1/2] Input: ilitek_ts_i2c - avoid wrong input subsystem sync Message-ID: References: <20230920074650.922292-1-ghidoliemanuele@gmail.com> <20230920074650.922292-2-ghidoliemanuele@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230920074650.922292-2-ghidoliemanuele@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org On Wed, Sep 20, 2023 at 09:46:49AM +0200, Emanuele Ghidoli wrote: > From: Emanuele Ghidoli > > For different reasons i2c transaction may fail or > report id message content may be wrong. > Avoid sync the input subsystem if message cannot be parsed. > An input subsystem sync without points is interpreted as > "nothing is touching the screen" while normally this is not the case. > > Fixes: 42370681bd46 ("Input: Add support for ILITEK Lego Series") > Signed-off-by: Emanuele Ghidoli Reviewed-by: Francesco Dolcini Francesco