Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp69143lqj; Wed, 10 Apr 2024 04:27:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWKNQVQ5vPTLFLX5J04HmIjuB0m5sxr6s3pEZ2eYtmJJ+eI3ZlOjmlOeVjY8AyKl7ghD34iu4hkEjGcO2lyXlqnypwVQilzt+efDoqncQ== X-Google-Smtp-Source: AGHT+IGjvUcklwRUMBCGE2YeH74l7TcbkdQbMPvTdjMlHhghmsZmwKi8/xHNryBd79iCXcOklEWg X-Received: by 2002:a50:c30d:0:b0:56c:5990:813e with SMTP id a13-20020a50c30d000000b0056c5990813emr1668637edb.13.1712748448947; Wed, 10 Apr 2024 04:27:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712748448; cv=pass; d=google.com; s=arc-20160816; b=Y4Zyti/8Vi5S5FhaWqs0QUgPb7fcPCjt+yPTf0FqCAqTbG6cKbnt8234Vo9fMjDFGR 2DLJsKpRe5LqkwMc+vY/x2I+9qBp6z5/ajUYqz2zRIMC/W5CUmOTdPNAZes0ah3JJFsY 8jPhDZ5huUHX8vEDq5JANd1JmJdMPEItviuAXfDCFmlCAwJqp040jGXo5C9rN5Hve4YC LuJqDiwWeLsnHjNrYAZ11elpsKCCc2HQwpsBZxRqvt2zGHXwM3icdnJIrzCRQD/ZgpXw rYq2PBipj9GcTmjL5Uj5ZcKz3bLgM0gELvzEtYa5z9B6pgbwVhpxGfgdBNZUv2o6NFaO iIxQ== 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=NWNvhOQ1P1l2OPQ/ikbk/yVi9ub/Dsp7Etl7kO7Xtms=; fh=Dr6QUunnpmy0U+9KgKErMRsUai1HVYjErUtf+xL2+QU=; b=RLxC71lBdJ8lMI1DKyoCjV61uTaLIWMLD/EgbUezVyWxA3C+LaBBBCr5ZB/krjiROL h9/ISiio2aGthsYfFA7LPrVZXtkcBS/XgwsocBWwgts5CLYSIDnQxHD2D1LWBeAjfAHZ XUieQM6TyZ0nIQMp2MER2oQjKZsHrDGTvozFF2w+fafsvShEu38Ao3fyHt5u8gQlBAOa Sh481tV096pHneuutXzTYZOD5nbV2LBsw7Lw/HgZCGAuTUipjtVsImW5vZH84/w8uIQ/ YPjXhZe6HHgckkiN/94K93NcRZ0TU9HKT4l4f6JPXI1hIZ9B3hSfCzqr8t5WMyFsi79z lmJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=LndvGka0; 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-138399-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138399-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 18-20020a508752000000b0056e21b42abasi5471628edv.331.2024.04.10.04.27.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 04:27:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138399-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=LndvGka0; 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-138399-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138399-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 am.mirrors.kernel.org (Postfix) with ESMTPS id AA3E21F22C85 for ; Wed, 10 Apr 2024 11:27:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12B4F15ECD5; Wed, 10 Apr 2024 11:25:20 +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="LndvGka0" 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 4C52115D5D5 for ; Wed, 10 Apr 2024 11:25:17 +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=1712748319; cv=none; b=UG7g6qaehJbdaJdeu49VNf+r08oDoEMdHvkssAlRiYCbP1B2XF3NsQPuzNueuxjzTgXH12AIe6aZ9OGmx+4DoytFuTaLfcPsNyvfpTtPoTJpTgojQTFCGboyeZ9dJoinci2F31INpcE+SFMoMBAmRJgyhM+nKLkQwVR1VLMgYgk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712748319; c=relaxed/simple; bh=xQvUs1HAINisoxCUqYyynmQYCCX1o0BOa+VKS52/pn8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ACBz1ebSQ3y8ojxoH6A2zb7mYsI5RhHY1v698wetkJ1Uv5Ef890tjqF8mKjfVLITuGI5WlvBmwLcY8kOhwAe4tUBixZrx3h7rFYqoyqCLvVRJVtJskQqbcX6QdrrtrJ6/VgfvVBGrwMHdX8wOAp8r4qjZXIWqfMxkC4llj4BrjQ= 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=LndvGka0; 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=NWNvhOQ1P1l2OPQ/ikbk/yVi9ub/Dsp7Etl7kO7Xtms=; b=LndvGk a09V581tPWlWHw0Nn3N/rn2lMHLvDSseKEe/RL8R3wS7xyMWuNxZ+yfs/0pfsSny rTNWkdh//T9P7OK1KhPmr9NOTz2tPhCStjoqeldajfBIgwHMoBz2CWDzyOpmsSDB 9kUKl/aTVwj3bTzsTx5b6igiXvJ06zjliEa8JhkuVxo/fs+Ct664NUFbikR6OVGh CN/NKSAMRgAm+9KSZuPBvJJVHaYxIH3vf4jsYdN6HvRV8DEIEhtefH6JhWUux8Ko RqwaET2H0+KEV9xPKTAjTkpNXgygoit4zgL/md4dN6SJndDlAUPCyIAcX37DFPzw dQPg4Z31mECCwYxA== Received: (qmail 521623 invoked from network); 10 Apr 2024 13:25:09 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 10 Apr 2024 13:25:09 +0200 X-UD-Smtp-Session: l3s3148p1@ndCNSrwVqwhtKPEL From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Tony Lindgren , Aaro Koskinen , Janusz Krzysztofik , Vignesh R , Andi Shyti , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/18] i2c: omap: remove printout on handled timeouts Date: Wed, 10 Apr 2024 13:24:24 +0200 Message-ID: <20240410112418.6400-30-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-omap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c index 42165ef57946..36bebef36740 100644 --- a/drivers/i2c/busses/i2c-omap.c +++ b/drivers/i2c/busses/i2c-omap.c @@ -752,7 +752,6 @@ static int omap_i2c_xfer_msg(struct i2c_adapter *adap, } if (timeout == 0) { - dev_err(omap->dev, "controller timed out\n"); omap_i2c_reset(omap); __omap_i2c_init(omap); return -ETIMEDOUT; -- 2.43.0