Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp7155lqn; Thu, 11 Apr 2024 11:59:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwikvm8lKYEqMXV2esQdmEQj/b0cPCMJ2VdDfyYu/pbhkLDX0aguoUFyzJyM+oX2CxC8Rj/2Cc0TM0GHz1NaRORmmd/N/QGTMTmEsVqA== X-Google-Smtp-Source: AGHT+IG3qHson1/xUBwjod3QTaEIHYO3EQ0TRm5pDTWK+CXOxnU+dtwav/9v6AMn0KOX3LUQIDSN X-Received: by 2002:a05:6902:38c:b0:dc2:3279:fde5 with SMTP id f12-20020a056902038c00b00dc23279fde5mr481569ybs.22.1712861962938; Thu, 11 Apr 2024 11:59:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712861962; cv=pass; d=google.com; s=arc-20160816; b=YvYuuZF/LG/ZqN4vcnsTUf7WNmf8F3/6v6L2s1e1Kg6gTm6s9KXfklEQY0I4o1OVUx 9F8NteQx/eqMlGlBnN3fWaAdiVwUq/eTS0rfuajgFpOJryiuLZG33HUmzazgxj9b9GEN 5eMGnZJbuL60gVEa7/akd+KF6PhPmIy8sG3ThGU/UD08SgFYPc0lGjjB601Wi8U3RY3O oRXvxPdd5y3xSeeLEN2V/DR/IRlECaGxDxhf1VThfhVjDTwECfMCV+HeBOrbGIx4B6g7 e1WWVr/6p0Lau5EsGrRMHN6gkuKU+tZXsXpf5PuE8ZInv68UEq7wJv7k6vb0QcEUTa26 vsFg== 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; bh=xuBRIZrSf3cZnT9xhBF5oF7P2Q8O9cjMl/TOtR7W5Ww=; fh=RgRdviyvJm6zNrFjcpiY3H+OEPkfZz3xTigy8oTRMI0=; b=XkSE5xyT9Q4MtjjZwDu2KvLVNdQY1wvFScb8Y5+xXEJENZU8uBy8JcVbQMZYQKY/zt eREQ67rAWlwjWk1mXrODHKoY8HuTciXrCC9hXgnUG914AqaTuBf1WNn+T9+4mfcvx/5d 7e8ZO9QBnnO3gAiDDU591tJqSASnHPDx/CoplOuBJjtGWXIj4Sgi37JeBMwPhdAwrykD 49vnt5NA6HTrxI8lsu6AVRFYyao2fKOoV4KaZn3KQ8a2dErBC4jCdPdqABM6ZjZVSiMa KuDtKfMTMH7/Sx5IKi6shY78KTKLysLDuuRgSzsH8d795Qmk+3rkAQ6c5bUMwG6ka0/U XTqA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-141496-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id az44-20020a05620a172c00b0078ec71866bdsi1327794qkb.402.2024.04.11.11.59.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 11:59:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-141496-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; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-141496-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-141496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de 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 A419E1C2330D for ; Thu, 11 Apr 2024 18:59:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7810613AE2; Thu, 11 Apr 2024 18:59:16 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 23FC56FCC; Thu, 11 Apr 2024 18:59:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712861956; cv=none; b=pL4mkfk9A5eJu18Hz4wnqaaoe8J+fuSwCtLGv1yvTDcXb6jFqQiXMSJHb396NLpVEmZzkfuimABct09EwT2Dvjgombv5tF9t0+VSofMKWiuSjto6t6E+6btyfhedaTrvtnkzDUde6HqGcL4B83a+FyXy1kqffo5CW1KPAYX+JUo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712861956; c=relaxed/simple; bh=C9xbwfIr5SaS2JQtolG722xkhBo+5jZYSdeJKMjHRyc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=L0uQXFtT4tgVo/PeDGwf3TLMUUcBj1q8jbOKaPhcvUP0Z+b3O823PFutX5AspMmAUp2uY5KwBAApWlpNAduL51tYvF9qCQO9QPScwGbgrXMc5so60VmVUCejmDmW0v5/bA94kVBwMlUZeZ52LFD8+kq7TOOdNDIxWeMzSXf4q18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from ip-185-104-138-67.ptr.icomera.net ([185.104.138.67] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ruzdc-0002Dv-NV; Thu, 11 Apr 2024 20:59:08 +0200 From: Heiko Stuebner To: linux-i2c@vger.kernel.org, Wolfram Sang Cc: Wolfram Sang , Andi Shyti , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 13/18] i2c: rk3x: remove printout on handled timeouts Date: Thu, 11 Apr 2024 20:59:05 +0200 Message-ID: <46619727.fMDQidcC6G@phil> In-Reply-To: <20240410112418.6400-33-wsa+renesas@sang-engineering.com> References: <20240410112418.6400-20-wsa+renesas@sang-engineering.com> <20240410112418.6400-33-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: 7Bit Content-Type: text/plain; charset="us-ascii" Am Mittwoch, 10. April 2024, 13:24:27 CEST schrieb Wolfram Sang: > 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 Acked-by: Heiko Stuebner > --- > 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; >