Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp72900lqj; Wed, 10 Apr 2024 04:35:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU2fPFNLfSJss36CBXsMW8YMI09xnJ5bCZhUumQ+Un76Ai9yYBUB55R9WtGG/KiceNd1vFQIdpSQ1uPmHfIDYMfMmtpKJelwa1zbR1ASg== X-Google-Smtp-Source: AGHT+IG2w/9aci8u5ujgOgbAnm1uKwtt+URdyUfBY+7Cavn+FU15dLlesomk1bW8bkWM+gy7xeob X-Received: by 2002:a05:6e02:2141:b0:36a:36f2:75db with SMTP id d1-20020a056e02214100b0036a36f275dbmr2792605ilv.20.1712748905525; Wed, 10 Apr 2024 04:35:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712748905; cv=pass; d=google.com; s=arc-20160816; b=PUXsyxWp0ah5VcFyCFic/KSX11K1PUaQVOzJJMFEOFSmgCEvRJo8nzH9AuQw16uWDk krWYz4Nz0DIUBmh8ZALx6WWaG8mTROHCjlBhBry4ZAveIBhY4XSniMo7iJXlrcO8Sgdk PYtprX+RP59YBBs6lZDBmCoKDaw+IFBU7QkKAATqqSRP9WTJWexhaWf8KIEOl1QnlM+I ixBPSvnln02+gDXzcGH8wRJ58sLDwdN6ADPF7fpywWyfOx5NGZwA34Zi8PSh3pQO5tfr IdE1DNc39pDtoRJQWtxLM6ed5jNXa9it2IgN/pRSWiKOxxX99H44USKaxKS5atxIq7Gu /lzw== 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=q5jkr9/WM9vH86xqE+ltTHo/KtY4HZuCeBtACkBfJFo=; fh=eIag11Sq33nF+jSuR+Md9vVvx90WWCThu380PNPT7wY=; b=eBBdrcfFL0nWhKbqStozYBd/HKlUwKTdCzLuNC3BrBPcg6fkhnWFytlxXZ1J0rNQrw cQDuWx3oNb9g/wWoklUhGOPVXv996akoFXPXRMJihgqY6CunOvl0EFHvv//TD8L7SI9S XdimPrKs6D6iGz3bV2S1Cqx+ftHSLz56Eulv6rza40VEY2cvexm5rNaLC2c1dhu+t8hW ZCUKJ79BIocoAUN2jkLjma5qU/RFGACOUJGt2/j10bmayGKoBNAf8Cwm+4DX0+EZMOFa bfwmeO0qhVY2Kkl7iOgTh3WVBQwUjexpTaOThwiKvfL2IixPHlI6OcLJPd4fbXbY7qr3 7Ziw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=lWenHIyt; 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-138394-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138394-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f8-20020a637548000000b005dc42ad5d65si10585307pgn.622.2024.04.10.04.35.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 04:35:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138394-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=lWenHIyt; 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-138394-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138394-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 59B562866F7 for ; Wed, 10 Apr 2024 11:26:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 391B415B990; Wed, 10 Apr 2024 11:25:16 +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="lWenHIyt" 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 62A6115B0FF for ; Wed, 10 Apr 2024 11:25:12 +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=1712748315; cv=none; b=oWSl2fVkrZEDfvLzIZLurc4MvPV3nvQvw97t2lC0JJOILDem3JVeWCvhtFjwJRv38+rD8avv5fATmRNYE4UYDovCXvGacVUyXeRFEcV9LY2dV6a1U11od84ZzvgD4+okV+9Ke9xQZiOz0m9i6RjODGkzSaQgm9jGZ1JBiPXrZWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712748315; c=relaxed/simple; bh=LuYiLQYpXnLNQ7RViJwM96fp2OtM5TMOTmCzc8ieNjs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kJ5Urt0lhkJd0vVcprVS4KmG9dxCAOl83mh00xxSAHdR+Z9Tg1Y0ZBlUpg7KIxmaSeScrDUzYTpk0JM5feSBtRysbEz1+XFaCWC38+pGy6JY2j0oFJyHXZcPoI5yBjVgBZmdZjAsT4rTvisz89qmj/lMiYezlLD8juAzElBxUoU= 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=lWenHIyt; 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=q5jkr9/WM9vH86xqE+ltTHo/KtY4HZuCeBtACkBfJFo=; b=lWenHI ytoeCjSQDSkx0iz1ocAdTupCRi3QvuCSWs9BjyFctMM7jbinxlmB0DDLVZ9IVdTC WJB2GPpFINtxSKOmuUGqhtoEOoji6KndgfHhIzarj1T8MVueDYlCXOxU/6I6yDYI ENtPl0mMrV/KL2nBY+z6njeFHn0i3HjdxgF2qPbf/R6nWDfvGgNuYBxd5XVr71cq JCCZpi75etxa5d5Bjy22TX8uN0H0z6JH0bYEDST3X7BPuh/zh3Uk+93Jn+vMy/YH XcZDocjV5wMEQRh1xnYWA91DZFo3elBiSVsFEXtIXI3K9E+abOQVoL4959teXxNx UHyGT3gkagV/b/Jg== Received: (qmail 521490 invoked from network); 10 Apr 2024 13:25:04 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 10 Apr 2024 13:25:04 +0200 X-UD-Smtp-Session: l3s3148p1@sBY6SrwV/yZtKPEL From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Bartosz Golaszewski , Andi Shyti , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/18] i2c: davinci: remove printout on handled timeouts Date: Wed, 10 Apr 2024 13:24:19 +0200 Message-ID: <20240410112418.6400-25-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-davinci.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-davinci.c b/drivers/i2c/busses/i2c-davinci.c index 02b3b1160fb0..7ae611120cfa 100644 --- a/drivers/i2c/busses/i2c-davinci.c +++ b/drivers/i2c/busses/i2c-davinci.c @@ -489,7 +489,6 @@ i2c_davinci_xfer_msg(struct i2c_adapter *adap, struct i2c_msg *msg, int stop) time_left = wait_for_completion_timeout(&dev->cmd_complete, dev->adapter.timeout); if (!time_left) { - dev_err(dev->dev, "controller timed out\n"); i2c_recover_bus(adap); dev->buf_len = 0; return -ETIMEDOUT; -- 2.43.0