Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp68242lqj; Wed, 10 Apr 2024 04:25:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXskSWuJe0+FCfMC4XApHrHQ+nbKhUGIxjn3xhe7DdQ9cDFlqvGsO6hTNcB6Bkm8fnjiyCKZxKekWt5YOCqVfYwkbmlI6x3mH49EfLmXA== X-Google-Smtp-Source: AGHT+IEIpY9oaSNZuiN+kNOHOheUy7xiT7Yr2DTFEiseKpuW/w9LuaUIHPO4++cmnDSeXFhPgdt1 X-Received: by 2002:a05:6122:1047:b0:4d8:5e2f:c235 with SMTP id z7-20020a056122104700b004d85e2fc235mr1874342vkn.0.1712748327345; Wed, 10 Apr 2024 04:25:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712748327; cv=pass; d=google.com; s=arc-20160816; b=anM7+h/Syalp4ftdFwYVXuLEbmSxB72/hHhlsBFOdEGmvoPU7QeAyQt0V+6nWQGzq/ xKZmf8HP1Gv2yB5+dWdptU0KZwX92McnaWWFX9yEAGenWC9VqY5AT9CvRgCJ3sH3SJuc udAdwUmQMLXBhRx4a8Y5HzTOeHBzf721c0Va6xZuI09FdT4Hqdapr5yTVf42w/KaujCJ F7KXbrMHITxKgXdMHYnzZu5uByJQZR1/Swk2wwFzR+q5la7ajV8XsKJlW1jAy6afXqur 3ybVnKAqqNH4FPEQnFLflVCnm0ud4yMcQXlpLZNeShg07fyUSEA1dPSLixBtiDuDkDW+ PqjA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=RNanGQGWfzY8LddZN9BtmYbNVKTZHZwObn8fItBAqK8=; fh=o75f8JChUCLpBvPEOZ68Lyuti4k2oAcgcsMmPM31D7c=; b=l0bxKPL9oEvpYg5g82mgu5kOs21cfWjhZJSQ3q1nXyXo5AGfTiJ89p8iTJ+KSeihMf qdda4wlArh8luxwQpjzJ8amP7Ch6YWMwun1B1BQe/mELayyR58vto2Ni+hH0qq5eiHH/ wWtDgvI0Tnj/Q/FbBD0ddbUZpXfi/PUYD0PzTsT34n/HCcCad/c+rVR3/Tldi8Pxf75+ GDBMEjltSIlEELGD6mXbP7g1zU3I2D76v0fkjpzP8diyiAUDkzfT/uwkgXnPIOMlNOEE 81tgA4DXYUMI/rqffJ4ZJ0Dx5anM4l+vSFxYpm78xca7rjKR/LezQ+aUxub0mLuTIvwq 0zNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=jT0Gk8bA; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-138389-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138389-linux.lists.archive=gmail.com@vger.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 r4-20020a0cf804000000b006990d69eaeesi12089845qvn.530.2024.04.10.04.25.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 04:25:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138389-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=@sang-engineering.com header.s=k1 header.b=jT0Gk8bA; arc=pass (i=1 spf=pass spfdomain=sang-engineering.com dkim=pass dkdomain=sang-engineering.com); spf=pass (google.com: domain of linux-kernel+bounces-138389-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138389-linux.lists.archive=gmail.com@vger.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 0F5F51C20F6B for ; Wed, 10 Apr 2024 11:25:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C452015AD9A; Wed, 10 Apr 2024 11:25:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b="jT0Gk8bA" Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) (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 53E3C1598E9 for ; Wed, 10 Apr 2024 11:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.117.254.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712748310; cv=none; b=lIeSRD7oIbhddplwZcB7LfGcDQbKxfxKZU6EPmWmxM+EgasG5XI0yVT/InKx4DuWU9TbCIJmKz9qEWlS7Eh1X9dj+xLv5m4F2NjWzzoo/dyPiQXDMmZRzqJS0MEPdeTjt0gqvPwhM6UAce3hq0MPWgRqJPRHSPtO964oCkJdLFc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712748310; c=relaxed/simple; bh=/oCMXaEKV0wQv6hyJYOzYspxu2mEEpt92nD4lJq5TVo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K3zCf9zIrysieh5w/03cSJSR7Xx2ieU0O65+YYBnyrIKUT2IDW8lG913e7v1oBIb9iFlToJGl2THWy/ub9zRpgsvgImvg1tKBcU5WK3yr5r6WldiEKxA2fTkd5oEalkVVPIXDYx8W8HKyVWSFMnTQBTIedUtJk/lxaco9kyAe3A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com; spf=pass smtp.mailfrom=sang-engineering.com; dkim=pass (2048-bit key) header.d=sang-engineering.com header.i=@sang-engineering.com header.b=jT0Gk8bA; arc=none smtp.client-ip=194.117.254.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sang-engineering.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sang-engineering.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sang-engineering.com; h=from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; s=k1; bh=RNanGQGWfzY8Ld dZN9BtmYbNVKTZHZwObn8fItBAqK8=; b=jT0Gk8bAMORCC3fi5dKtBczdT+SWtS Ur90S3Q1uouDlicdfEpBcNSLJfpzszbswwlEqlBkKEo/gJqZgyTYwNnT/l42kg1u jCKNParrdoy5IN5KtrND/ODxJjODWMBThyQKunrC8uL76dtK8cijYPbbgs6iM+X9 oFSOW30Rsp/9ZLXlttGMTaO3E08kWFL0hNIfEIBjQBW2sZJeRUSQge0X2s3omTnq n5piJX/YYxgLyxigGcxQANsKl+wdagoI2ckzGc5M+DvPUuA1l9Tehh4xQfo48iZJ eKCIINO7NvQHjCrr8EVgyW1i2doKHn0NqksAVd/TzyZNURLygSmZfMGA== Received: (qmail 521287 invoked from network); 10 Apr 2024 13:24:57 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 10 Apr 2024 13:24:57 +0200 X-UD-Smtp-Session: l3s3148p1@pzTdSbwVgwhtKPEL From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-rpi-kernel@lists.infradead.org, linux-tegra@vger.kernel.org Subject: [PATCH 00/18] i2c: remove printout on handled timeouts Date: Wed, 10 Apr 2024 13:24:14 +0200 Message-ID: <20240410112418.6400-20-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit While working on another cleanup series, I stumbled over the fact that some drivers print an error on I2C or SMBus related timeouts. This is wrong because it may be an expected state. The client driver on top knows this, so let's keep error handling on this level and remove the prinouts from controller drivers. Looking forward to comments, Wolfram Wolfram Sang (18): i2c: at91-master: remove printout on handled timeouts i2c: bcm-iproc: remove printout on handled timeouts i2c: bcm2835: remove printout on handled timeouts i2c: cadence: remove printout on handled timeouts i2c: davinci: remove printout on handled timeouts i2c: i801: remove printout on handled timeouts i2c: img-scb: remove printout on handled timeouts i2c: ismt: remove printout on handled timeouts i2c: nomadik: remove printout on handled timeouts i2c: omap: remove printout on handled timeouts i2c: qcom-geni: remove printout on handled timeouts i2c: qup: remove printout on handled timeouts i2c: rk3x: remove printout on handled timeouts i2c: sh_mobile: remove printout on handled timeouts i2c: st: remove printout on handled timeouts i2c: tegra: remove printout on handled timeouts i2c: uniphier-f: remove printout on handled timeouts i2c: uniphier: remove printout on handled timeouts drivers/i2c/busses/i2c-at91-master.c | 1 - drivers/i2c/busses/i2c-bcm-iproc.c | 2 -- drivers/i2c/busses/i2c-bcm2835.c | 1 - drivers/i2c/busses/i2c-cadence.c | 2 -- drivers/i2c/busses/i2c-davinci.c | 1 - drivers/i2c/busses/i2c-i801.c | 4 ++-- drivers/i2c/busses/i2c-img-scb.c | 5 +---- drivers/i2c/busses/i2c-ismt.c | 1 - drivers/i2c/busses/i2c-nomadik.c | 7 ++----- drivers/i2c/busses/i2c-omap.c | 1 - drivers/i2c/busses/i2c-qcom-geni.c | 5 +---- drivers/i2c/busses/i2c-qup.c | 4 +--- drivers/i2c/busses/i2c-rk3x.c | 3 --- drivers/i2c/busses/i2c-sh_mobile.c | 1 - drivers/i2c/busses/i2c-st.c | 5 +---- drivers/i2c/busses/i2c-tegra.c | 2 -- drivers/i2c/busses/i2c-uniphier-f.c | 1 - drivers/i2c/busses/i2c-uniphier.c | 4 +--- 18 files changed, 9 insertions(+), 41 deletions(-) -- 2.43.0