Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp69518lqj; Wed, 10 Apr 2024 04:28:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVh2U+gdF87EMuoiRH3Zu/H07Zxl08XnFGDd11YL++egA055TznrnZ/Usgedy+j+xvx1EIAvt0Wanvbf4yNfK0z5GRAdDFSqxzwDJkAlg== X-Google-Smtp-Source: AGHT+IGzc98kxyHoQT5c6z3/yooDAedJKCD8NTd5K/xocD+PEszYZLotsGNg+ccXv+H3aS9hDQZX X-Received: by 2002:ad4:5c8d:0:b0:696:9df4:58e5 with SMTP id o13-20020ad45c8d000000b006969df458e5mr2544581qvh.1.1712748504338; Wed, 10 Apr 2024 04:28:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712748504; cv=pass; d=google.com; s=arc-20160816; b=q7iRRmImV4uNeQaDQ/hZ7MymgnUbLTHH2DwWgF6p1hyonm5EWUR3eqTdrZdlVAJ/Y5 r4e2tz0WhmiSHu4DwN50wRiUmxK3EoO0VCq467r7716QdHTbET0QjNK3+LdVKeJWiGuG mVL4DbK5LMC31DtUAf3WMcmCoPkG5Y41hQ/A4mn1swdTa3G4IJCgPwPQDZVHztS3ObhW jY/tmr2ebADvTWObbx1uFLI/VY2zgLVuqGXzyKI8OovHOIvMLfqXEmkWk+4vLUV00+iP SwZhV//93b+tVBJbRaPWLeP8nAHUkIcJqN89RPKx3SMZS1fonSdFbPqEQAiVWt5c904F aPJA== 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=tTh5gHnHTO8tnn3N/EUqm3Hs/2cCwpj+zf5vzhI2jO4=; fh=SJ26AX3w/o7fLBVHlbk7yN34UAT5XFy5wMnllLlr4J4=; b=vHSKXFmq1N9srgcdIWB1U0x2/6Ebsni4PKyIKKIWhPLyk0h7ehuDbrNVbHCaNDx/6L dk1CFQWIjPAghUyQH8rYavHPVPws6OSINf6V+ws4gvxonp8pa+3XsPIlgC+wYW4RIJvF PsrD1W6glpe0S2xRgy0nQypbIVjkZsBMyj2YW/b6aQ34bHYroJSzfqTvfmCm8tfaucAf 3otuiTwpknPLHdI0K1ujt5KFmQWUHPlAax8B55dgdOmJTmKGI0cbrqkHOvHYrwhCzwsC v8Oe+VHlqHAOalynDlb1wInTs/f/1md6qGO+5y4WZpfyJiCML8zOx8J3uzUWIlYIbql/ EQeA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=e61aOThH; 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-138402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138402-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id cw3-20020ad44dc3000000b0069019d3b4fasi12233429qvb.580.2024.04.10.04.28.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 04:28:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@sang-engineering.com header.s=k1 header.b=e61aOThH; 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-138402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138402-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 084E31C21A1E for ; Wed, 10 Apr 2024 11:28:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5590715F309; Wed, 10 Apr 2024 11:25:23 +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="e61aOThH" 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 A484515ECEF for ; Wed, 10 Apr 2024 11:25:20 +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=1712748322; cv=none; b=JR0e7F6nlD7nPBNgF2HMnPaYg+sVpueI3lWLImqL2HKZMMBNvdVDKXV6xXjTA3Ms5IvUhonIa96g0TadagvV90vaO2BZkFmv/oanNP2NGUXvo2Uz5oJ85PIgtaeDKt4RxZRU90X1tLIQgmdC5kF5MgBOV2YaojEbL4w1LfFwpVc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712748322; c=relaxed/simple; bh=y2QeXjoOMiwMA543m/jKRgEBhto40dDwX/umjYl1yiQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=h/ZiWYEmHzCVnZeoHJzYwkHyWCTpbw750eZSn94kvKhciiYmA/fdpviSka/A4UrVoDjQKueVyM0aHxVK+nsY4P/GLNW9PtdCHAVVTTcGZPkxYDqFRoWNQhWD3FnCdr7xHrMSmbnBp/w4oYq2cAXQJxdyG0wHAWgbyd+fJFPJ0SA= 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=e61aOThH; 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=tTh5gHnHTO8tnn3N/EUqm3Hs/2cCwpj+zf5vzhI2jO4=; b=e61aOT hHkW2NOKlDMp0TsvrVPjYTmQqz9G6Xfcy4dHz+uo7EKsZwsdYFgTTcGXuAn7f+hN PfX+75V6R6IdoC8PKSbQrHZht+Z8lwzqghjNxgf6NDV/Q1eq6+QWkooxVjjytOoF m+j5jM1//kWHUH3M65OJFa6CFln6Z20DJE5R68iZuhIAtGClWAkld7cvKeWG96gq OytNpo2VNSVE5AKSL8nl3TZvZW9zWokIbnswIEBw7J9RzT2+6qsa8QkyX9Kae2vF KPk41mjCQLuUsJZWVYzYK/4n6kn3jL9Y6ZwEmUDbCUkn4AUTtb3+EjN1DBxsliIn 68yvSpKSLylj7xwg== Received: (qmail 521797 invoked from network); 10 Apr 2024 13:25:14 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 10 Apr 2024 13:25:14 +0200 X-UD-Smtp-Session: l3s3148p1@25HGSrwV9SJtKPEL From: Wolfram Sang To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , Heiko Stuebner , Andi Shyti , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/18] i2c: rk3x: remove printout on handled timeouts Date: Wed, 10 Apr 2024 13:24:27 +0200 Message-ID: <20240410112418.6400-33-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-rk3x.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-rk3x.c index 086fdf262e7b..8c7367f289d3 100644 --- a/drivers/i2c/busses/i2c-rk3x.c +++ b/drivers/i2c/busses/i2c-rk3x.c @@ -1106,9 +1106,6 @@ static int rk3x_i2c_xfer_common(struct i2c_adapter *adap, spin_lock_irqsave(&i2c->lock, flags); if (timeout == 0) { - dev_err(i2c->dev, "timeout, ipd: 0x%02x, state: %d\n", - i2c_readl(i2c, REG_IPD), i2c->state); - /* Force a STOP condition without interrupt */ i2c_writel(i2c, 0, REG_IEN); val = i2c_readl(i2c, REG_CON) & REG_CON_TUNING_MASK; -- 2.43.0