From patchwork Wed Apr 10 11:24:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 13624101 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 56B74CD128A for ; Wed, 10 Apr 2024 11:25:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=p7Apvlr283Vk4cd746CPycIwsuZbHhDQvwJKPQVC12w=; b=SqGapJIZ0XVSlY PReNTY3wuL+vXTu8NvZNn0s3E6p1CKpdurWSeObzogZajmAMS+TWvAMXHpiydYlLlJbhp7uR9XLW7 QoDyQe8lmpNaZFqBP4B5pZMdXAOK0BLgKTAo3TVWcsS5MYg57hVs9LXpH1wgFYsD4iX5i/E2Ulfhe q0GmO4LdchFysvq++VkmAjQInajrNGqfHaBUJYi3hqO3yGJC931l/cxEutLvIpJEceSlYUm4EbLY8 OLrBpuKODFd/ok46GPjapMKcpQXSENpOxij9d/MSDrvOEcNqpGnlvOu3llQHA5T9sfs5rpaHkH35b AY3lKhOjXi3E+w5NAPzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruW57-00000006bPE-2Nfz; Wed, 10 Apr 2024 11:25:33 +0000 Received: from www.zeus03.de ([194.117.254.33] helo=mail.zeus03.de) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ruW4g-00000006b5l-1fbk for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2024 11:25:10 +0000 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 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240410_042506_863307_2DDD9FF1 X-CRM114-Status: UNSURE ( 8.03 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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(-)