Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp68502lqj; Wed, 10 Apr 2024 04:25:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXy6XK2wmp9d5dMfy0Z9VxVa/rzsAP3fI0Mt5hN+8t2vmXYmMGDzlfvIEegytoM+QXgUk8kUQlK/Edn/TZG15OuR1GSWxsYbiXeMnLfKA== X-Google-Smtp-Source: AGHT+IEUJtuT/Y1qa3/mXhC9X4EtPzHFVgmLW8BuNkeoXTX6fgoKIRkEdArPmtuDZOEJbA+KRnF+ X-Received: by 2002:a05:620a:5713:b0:78b:e8d1:3ad2 with SMTP id wi19-20020a05620a571300b0078be8d13ad2mr2306572qkn.62.1712748356874; Wed, 10 Apr 2024 04:25:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712748356; cv=pass; d=google.com; s=arc-20160816; b=r78Zc1MFEp03Qyy+0uq2xgJHFrCqnZZyWpX8+NtPbPdKhY3Vpzs8S6rN/yjt524cAk JWdYVagGtV1unLRy//v/Bww6+gTBV+sgnIKBWijLqXD6TGhBXei3XCWA8ciDtt7MYUlV sZ0v2gOLBnkxHqvpDHwM8t2+Cvda9edhyAud7kNubJ0WoTyxIK0IY71eBaXtNAoS8VF/ 4ZzsChkuei2xWCLMt1p6jrEsjMRX/drijb4cSuHRdt1eo9OLifjkvBsHYyakWPjsNSk9 0WCELTjPqm8MW89Puc/hugLLXOpLH4pR87i6C3CfJtPGlYnX5mZwD0Ol23gWD89RcCIG vZYg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=4EUSyGzomATeNIcG8P0cZgKgvqo4WHF+lzVzVLKSadU=; fh=8w+VwKWwu/ncJ1LfhFrhkoEi+8do4BjMGRMD2DiUMjQ=; b=iYINTxYDPpWlwhyKZJtZqs3J48PqyVU3jqc26cOw3mATLjAVNvAJtmVPnITcWeydo+ efTbuNStdteGnRIhPFHiPCld/Ml+s8MJDk6hTwQk2pa18c56tC95n0J/QYIvXh6ONcxF 9Nsj/w/ZcvyYi4nVWYDXSJF4HiF6UUNLB8qkeUYoLsMkJR1Bp57BkgoRxZygYwRn+H+D yf1t6IfO85Mqqm5AuxD5WcifaZOU+g2QEXtK8SVDR7KKUSLw0H+QTz6ryXsluZIAR3Ss KV+kE3u5M+hJA984S9vS1qXwxwaIOKiD9o4FmC29Z+cg5iOIFIA+ImixDr/KbVFXVfUO BJPw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=QphoD0Ic; 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-138392-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138392-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 x19-20020a05620a449300b0078be905f307si13796180qkp.660.2024.04.10.04.25.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 04:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138392-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=QphoD0Ic; 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-138392-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138392-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 96A371C216AB for ; Wed, 10 Apr 2024 11:25:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3074D15B133; Wed, 10 Apr 2024 11:25:14 +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="QphoD0Ic" 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 6DEE81598EE for ; Wed, 10 Apr 2024 11:25:10 +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=1712748313; cv=none; b=jBpmxnAauGwwhcMVEOuEFrEASpivJVEgVBr+y0B7PDbfJekp0oHNm1NmWQSqjr7wq8hF2oN8qoNOOXSXwUhvd30o/Bn+5PjYW3mrYYh+33jd4di9bpk6Glq4IvevVuI0QvwxcgyHKcMdwVZIQjUCOvEq1ObudOW5c91sUjD8qlw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712748313; c=relaxed/simple; bh=dVv3yCapRGHqaKbd/raKqVqecjajjR0ihwDqpWezJvg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eUeLiDugAOjYkZh2KVdk1qTnJkoKsafOzto0f0y7sXvIXIfQ5s1XaIB0gz43STGufiBbEpfuTG+n/6KlcvnePv5qe3V64lmZ9TfigCof4/2TweaWlUMHeogM8fT/b9zDiOfND/RYSiLhKM/FWz5d80VUlUH8UfTK+E0nuRyEC6c= 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=QphoD0Ic; 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 :in-reply-to:references:mime-version:content-transfer-encoding; s=k1; bh=4EUSyGzomATeNIcG8P0cZgKgvqo4WHF+lzVzVLKSadU=; b=QphoD0 IcmvSEdfsDJaszWGUfYISArnr7pFEh3iVuEliuWPXsaTgp99s+8UAb1PeiQ2J4Gu YVzkQFx3QKuRWskt4wncxwHVmjHKjJzyR7pgQVM3JZumJ3aMUasyuyrdbjPI09MX orqntkK7cBII9SSeznWLuksgjiYzPM25iII9cciqsLVPmcQPgblgN2v6WFy+xDAR GYaOcP6HHNAsj3qUD8mkxKXUqEpyl8BtH28WnzKa1Tn7BnuTR3JmA+ZZr0FdXKwq nFtZzB+Yb9qVvDlZJkJ2v7nmQEJW9ryYrinepeH7aZSYWbDr2HyBE0CLJiGG1swO lMVX3FG5Sbd7o0jw== Received: (qmail 521447 invoked from network); 10 Apr 2024 13:25:01 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 10 Apr 2024 13:25:01 +0200 X-UD-Smtp-Session: l3s3148p1@AQUNSrwVyC5tKPEL From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Andi Shyti , Florian Fainelli , Broadcom internal kernel review list , Ray Jui , Scott Branden , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 03/18] i2c: bcm2835: remove printout on handled timeouts Date: Wed, 10 Apr 2024 13:24:17 +0200 Message-ID: <20240410112418.6400-23-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240410112418.6400-20-wsa+renesas@sang-engineering.com> References: <20240410112418.6400-20-wsa+renesas@sang-engineering.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit I2C and SMBus timeouts are not something the user needs to be informed about on controller level. The client driver may know if that really is a problem and give more detailed information to the user. The controller should just pass this information upwards. Remove the printout. Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-bcm2835.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c index b92de1944221..3045ba82380d 100644 --- a/drivers/i2c/busses/i2c-bcm2835.c +++ b/drivers/i2c/busses/i2c-bcm2835.c @@ -370,7 +370,6 @@ static int bcm2835_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], if (!time_left) { bcm2835_i2c_writel(i2c_dev, BCM2835_I2C_C, BCM2835_I2C_C_CLEAR); - dev_err(i2c_dev->dev, "i2c transfer timed out\n"); return -ETIMEDOUT; } -- 2.43.0