Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp81735lqj; Wed, 10 Apr 2024 04:55:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXLrI9YLX40EYH+tGUGX51a2AibbCFjqwsgp4zPGLl5Q2KC609Ja+Z8IsgkiBe/KEBU/qz+I041Y04WqPNFLj1lMEnfxwGqK/QH8IlPHw== X-Google-Smtp-Source: AGHT+IFt7iXlKxKOSpstYNll4Js1BQfl6eRUWtcHcRneEfkYVOfLf+t3iyroMdc/lbmOheBVG+3Q X-Received: by 2002:a17:90b:68c:b0:2a0:8d1a:d44d with SMTP id m12-20020a17090b068c00b002a08d1ad44dmr2549309pjz.36.1712750146727; Wed, 10 Apr 2024 04:55:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712750146; cv=pass; d=google.com; s=arc-20160816; b=SgUkqDBVe8OsOuAzvXIYQw2+rU6DWcxqIy8eJdPdC4kncETk2TTbY502m0m06PdWVj sGVp5yL7EzIloC8vkvgLODhm1ECp8bKHHR4YyEoz4ozB8rFWxNMtXMrrDtuiWzxKpOAf vNM3jsQDlzP5raWqPSd/p2doEW4ybv/5T3VoyoE7+XY8uTDFeCLWj6RPjub2O1RUTRbv rWUwdmw8bCi9erRKxqyokzpQY6NmnPq+rHucZqE330CkT3vdCG2rrke+cqINjraYO1N7 7PX3M3nTz+1t92MqnUmD+xC7zUnWSqczbJcJdlJa5LrjVXC+ghpxcY53+lShPjpX3NYY 3kCA== 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=hD8uz8cN1ScOd8WPchdst4mxCACdD20Wmh45ImGI/X8=; fh=j6+cMbWzBlcGe+2aZHgfMTbkX/CIUttHftrcR9EqH4g=; b=B8tqZHNT4meV7JwqBfxkWFdXQsEcf07K375CZJQsreY/ZLuaYbBsSMF5ooKt1/vQs5 JI+Z2Ei1VNrwSD8HtXcaWgIfrxVg0iuTU+Dsu+/bYq7L+anwa5EkDyf2kTORTEQWoOPl s0+81EptiBMz1buc5EN2HxyfFv/tHV89YRxalcmtva3awtkihhBEOBIvXoNc2Cs0AdZd ubkyAb2FWi9dsgaP1EGJXMICImfMeMzGLFqkLp/ArAfpFYSY2ZeFHUxMZAb4Ob9U0Fnp 6bsX4g0zWdwX+aQhsDHfaXdcqQl0AnYlWXRyonTzIoyLm64Mtul7nzuS6lHpdak3+zCC rPXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=a6oVtxBh; 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-138393-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138393-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 pi11-20020a17090b1e4b00b002a5ef7a3d69si492838pjb.100.2024.04.10.04.55.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 04:55:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138393-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=a6oVtxBh; 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-138393-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138393-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 1116A285D7E for ; Wed, 10 Apr 2024 11:26:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 50B5015B15C; Wed, 10 Apr 2024 11:25:15 +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="a6oVtxBh" 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 88D0C15ADBD 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=1712748314; cv=none; b=H6TmAn0hlQ3tJKOFUj2AOK8LsXYns/sXFOLYOar0FWJCBrI8WgrAfEPqbWwuREoLoSUnDi4nojJipt25QR56gBxL05N1oZKM4Mz2TdpPFWbarWbSLc5hDZZRmCm3FO0qZOO3+yeofsUyVPxfmMe22rOi9If/kVOyZwOBmS2rgjI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712748314; c=relaxed/simple; bh=EEUfTeoa9Foy7qAXuzOsrCEqiYrisx6cg3y/4vq3/C8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IBioNdEYNJJH5/me3e7pkzgiDZh8IpXVU+CX4FVx3yWSt7cmaslwiQWl9BfDi5Cef5jTK9P0C4qt2J8p03C9or6czg8NQYG9AEfClUIkOCpI5VPi4n0xyW5RGhl7XLY0SovAyRtLuIh/TKljbmeegQ0NzPmLpTOBKEfZTn3zS3I= 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=a6oVtxBh; 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=hD8uz8cN1ScOd8WPchdst4mxCACdD20Wmh45ImGI/X8=; b=a6oVtx Bh1gvv6bITBD1Cz3DUhfELjmFMxhEhR+AHoeksfm5KrUSRVeoTQikoU/us2SJR36 rqhzW6yJBUHl7MfBms5eST+3Y5CC5UJ1MuHezo3gp8VXpRwwjOOg/8rhgsMCskuF 4kgy7RaL4OCO2tK/P8srJT2kFViURleSD/lh+JjCUqSVLQCTDpHLB0ve+pzwFifE Pyz8EWOzPRxhwJj0gt3aNTVOi+tPxvtNMLR9t/vS/RZmprV/kWIG/G7cE4I5fTp5 gzwrWLO2uV0sO78yYo2yAFoG6TXLqyFhb2BMuq7eorRE5aoF/PYcKhXZzZXokYVg 61UO01t9i8Cf5lpQ== Received: (qmail 521473 invoked from network); 10 Apr 2024 13:25:02 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 10 Apr 2024 13:25:02 +0200 X-UD-Smtp-Session: l3s3148p1@iO4iSrwVDyBtKPEL From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Michal Simek , Andi Shyti , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 04/18] i2c: cadence: remove printout on handled timeouts Date: Wed, 10 Apr 2024 13:24:18 +0200 Message-ID: <20240410112418.6400-24-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-cadence.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c index 4bb7d6756947..1b0006e3b95c 100644 --- a/drivers/i2c/busses/i2c-cadence.c +++ b/drivers/i2c/busses/i2c-cadence.c @@ -789,8 +789,6 @@ static int cdns_i2c_process_msg(struct cdns_i2c *id, struct i2c_msg *msg, time_left = wait_for_completion_timeout(&id->xfer_done, msg_timeout); if (time_left == 0) { cdns_i2c_master_reset(adap); - dev_err(id->adap.dev.parent, - "timeout waiting on completion\n"); return -ETIMEDOUT; } -- 2.43.0