Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp727046lqp; Thu, 21 Mar 2024 13:42:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX+w78FhOgbIIAt55tp7hN2f+3ZDOTqZMJA6ejswEtrwFzCmbAGBPITK2LOFs+yPHqUrdKbj76oT+UQSfdfLWPvikTyqcBSIaVDOJA9Hw== X-Google-Smtp-Source: AGHT+IGP8s/1NuGBCfr7aoRKzOSi9uPImfVB3SQ75bQNsEohwgXCzx4Pz3SQu2l6TrZd+fLvOzqq X-Received: by 2002:a05:6214:1d21:b0:690:abe6:b6d3 with SMTP id f1-20020a0562141d2100b00690abe6b6d3mr251724qvd.4.1711053775477; Thu, 21 Mar 2024 13:42:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711053775; cv=pass; d=google.com; s=arc-20160816; b=yYngMVFvww1vOQalq8FrAlTz8vYccjhAsSjYLSYT4rihFn9AXJjQESrSbzaUcAGvOp UG9W6bCtlmyHxsj4CbV8dsoUoqXmakIBEYDD7SUJHk+7DaWqIWQLBP91F1bZnqlXWsZD NCfmOTfMcNSQ8oXcIdH2mRcOylMcpyiaYNNC0s8jAdg0BTN0oMU3Eg+QUUbeyoHr2nTQ OiUShWcDoCsAvZHBAc7MkLa5RaClqMpvWsJSBxV19UGJW00WtjQVVSzN2qu2cxbgWGZ1 VTzflM+PXLTGm0+lPs3Qdsr0+AItp+lRMpHi/UVgJ2nDohnA7h1BeE5m+klsHohCLsNZ gIcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=7mO/aE66xBa30J6RxH+AL+TuWkso8j0zw09i7GEd8M8=; fh=KcpxVADOel+ggC5zHMAv2NwuCdK/RdKtPHNWFVX73W4=; b=VXgQMwySmNfgPaXFfBDzw+hNigBFGvovQblmVdGXkmP0gKFVO/LCnlyhKh/uJaD3Gj Ij+n2UJaBZNujd8/vDsMe3tPxbusEB5aENK8M7rVK5uL7UeklAkvB5IVik9aKkOsua3o XvmND8zCejZ4iAauVIDHTHaub/eEc7mvBKTW9IAhOgSS0stARxemaU35P4m9TzcuLWu/ oXkkPD7SgNCcb8SBSc5k8eBcc3simi0QWqiVRC3KATm9diajngKv4T3JYsf19uvEYAhZ GFxb9ptZZLraM0OKbn+8rKRgA5rKlPzmbC0pk+cHdeM/qggptafGy7jxDbaUPj0dHw1g Y3UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JeH0qeRN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110652-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id mf8-20020a0562145d8800b00690d63372bdsi586969qvb.171.2024.03.21.13.42.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 13:42:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110652-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JeH0qeRN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-110652-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110652-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0C3CA1C21E0D for ; Thu, 21 Mar 2024 20:42:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAE1B13664F; Thu, 21 Mar 2024 20:42:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="JeH0qeRN" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E824F135A73; Thu, 21 Mar 2024 20:42:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711053724; cv=none; b=tjgtbDBk/pcsLAphpX8mZAp8q07RLbyQ2CyJPQNAjDwB7m50YT0AhBJ6rZ50Q2hGB4W0VIMZU67IVonIyOCl9qt0WgSbEEA/MCWq4U6JgNtiOtZ2OPaRh2ZhdGlJYoRdc7JLm3Yyr05/jwDB071OTj1EhKX01m6xwLM5s+Vtf28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711053724; c=relaxed/simple; bh=NmpziW9BRh/m71deL6UzzTXuJp7VGLzKgaq9xo9Yzbw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Bp7gKLsiFmMnHpwTBxHAPsflcVQVDcyK1QY5U0PFgxKBNgtmnF3ALuF8VLT2qnKPQuVacwNddVR5pk1603gT3t1hIRfBZ5JOFT/goNBWp5lPjfp4ndBO7fyFDTsDhmI1C3qesw9hefk+V/El87usHuGtWeiY12mtNiUAZKhhe80= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JeH0qeRN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1361BC43390; Thu, 21 Mar 2024 20:42:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711053723; bh=NmpziW9BRh/m71deL6UzzTXuJp7VGLzKgaq9xo9Yzbw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JeH0qeRNoMsQMC7cu3nTrqYjVsxi6LfXUoPiyFtb3XMkIhZt0a+TNbA/7CIWJiSN4 8dvFUxuTLnwxK4sj491kzgSDs8qmu1UPEL964/t2z31Fd4IVJwmT++8cnvrFxZyoVv pLrTjMFKMqHrWvbiVKsvznaFkPyOv8KMSZhgIRtvFuTyVoSHts6GgI55w4g5Jsxk2y 75bUMPxELRPdxLLIqikAqhOU+XrF923jyD3F+HA6k0aOY3I3VWiG1C6w2tB1SUvdZw 0Bfnyy/aH6xMqhb2wONhyFwq5XobdIay+rTlBH0Po4Ml6Q6HN8sot8GyX70u1/+YG9 bZrePSUV/K4Cg== Date: Thu, 21 Mar 2024 21:41:59 +0100 From: Andi Shyti To: Maxim Levitsky Cc: linux-kernel@vger.kernel.org, Jean Delvare , Heiner Kallweit , linux-i2c@vger.kernel.org Subject: Re: [PATCH] i2c: i801: Fix a refactoring that broke a touchpad on Lenovo P1 Message-ID: References: <20240321141919.26844-1-mlevitsk@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240321141919.26844-1-mlevitsk@redhat.com> Hi Maxim, On Thu, Mar 21, 2024 at 10:19:19AM -0400, Maxim Levitsky wrote: > Commit 857cc04cdf50 ("i2c: i801: Add helper i801_get_block_len") > introduced a slight functional change: the status variable is now > overwritten with the length of an SMBUS tranasaction, > even in case of success. > > This breaks the touchpad on at least my Lenovo P1: > > rmi4_physical rmi4-00: Read PDT entry at 0x00e9 failed, code: -6. > rmi4_physical rmi4-00: RMI initial reset failed! Continuing in spite of this. > rmi4_physical rmi4-00: Read PDT entry at 0x00e9 failed, code: -6. > rmi4_physical rmi4-00: IRQ counting failed with code -6. > > Fixes: 857cc04cdf50 ("i2c: i801: Add helper i801_get_block_len") > next time please drop this blank line here. Applied to i2c/i2c-host-fixes on git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git Thank you, Andi Patches applied =============== [1/1] i2c: i801: Fix a refactoring that broke a touchpad on Lenovo P1 commit: a5894bc48f64caa86dbea1744d067c925303c5fc