Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp154953lqg; Wed, 10 Apr 2024 20:20:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4alTeS92pkn3RJa0GNHSnnKI1TM/aqt74kbguMYAHYSj9UuAyAG4DqnHkAixKFM2cMKHjqMwp1O7ClRlClkSEgYOnHS4eZBeeyXg16A== X-Google-Smtp-Source: AGHT+IGLFqOUyGh31qjKmnnzPZcGa9zoxLZ64KsnpCTPe0chqEZl13Q4mt10c8TCJlAT6cLh+a7g X-Received: by 2002:a05:6871:69e:b0:22d:f83e:1971 with SMTP id l30-20020a056871069e00b0022df83e1971mr4581118oao.48.1712805623459; Wed, 10 Apr 2024 20:20:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712805623; cv=pass; d=google.com; s=arc-20160816; b=BunZtev85dWoD/87PIg7wG2ZEEhDDn6GcJlZe6a8VcxIj7MqAf9snBcILNnvbHp73J YNoxfrWVCuITG18m6pfclRMrhjxhV4GTqBpDMbk9QW4jOZdTNgZ3x57Y8AvRk4lEtB+C 5WYuffXWnMyHtiTnkj7gUy4aGnHn5MUWRUi+DUuNhe4VUREjKDmttIfG4ZDLEx9I8dEz 6gyDL8IzC7SguvqE3Wbz1rmpF/mU1vCP1Hl5xwWmoWHHJKpO/muDjhqfp7nlFaAkycSG OJCTyH/ZHojuPBPMgnCshlmBEymGZMOfVZVDf/rmDGuf2n+00enSDmiW5HHJ9Odz2bFL MFKA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=DC5E6OCsDm4OVLrA5wC6p9yeMSAVfrLiGf2uLW+ctfw=; fh=sX4sOHq2oBsVyOb2bnoOyVAREmTHLUBEwBvLOmsoTL4=; b=Xd/VAUIiuwd6WzSMELOsL8lcJTl8A6YJZIwcack8rN+XTA1DHSKFS3hxQaWLMlim3k jZsAj9amWetTHOPRNSyTlJG1Ee789jCvPsoGb5eIIzZsSyYaCsPDXgTIRew5qLiSUXEM 2jKEu1fyAGaCraat3JPO+2i5c9dfY7/GiwC7K6+7/5PGjGmjiG0o3KnCI9JzZ3zdm5jF bUJGLbkA1F9IivlFJQ3e1mIKdEa0LXBZFlaqwMoLGGOcvWaiEw4MVddn4wTvLBuzq2gU +Kxg/yo0DVzG8rudDFzIkIkXVgMXkGdE01LvLPHdig7uk9ix73ve8cDdHEY36eihwiLI Bgbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QpDHbAG2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id j5-20020aa78d05000000b006e70670e744si575212pfe.259.2024.04.10.20.20.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 20:20:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QpDHbAG2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139687-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139687-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 62295B26783 for ; Thu, 11 Apr 2024 03:08:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D690713BADC; Thu, 11 Apr 2024 03:08:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QpDHbAG2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0752713BACA; Thu, 11 Apr 2024 03:08:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712804894; cv=none; b=fUGs5qLlTugRxLA77MFKG1TbwRxG3xykMdb8D/v2csRKNJ+70xB7LBW3dwgri1kxcmR3esvMD0sDz4IohGUEwCBE6coJTJFajFXwjlmSjG7nHd6o8Zr5w28ekPnqlbRXYarvwtOUR/Aeq1bMnS7hPB/EekhlnSq+ZTDplur4O1A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712804894; c=relaxed/simple; bh=VoGsCBX4wEoCsenDI82mJ6xXvF2nfXfBUIDKz4xNrbo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qofYEhkqMI1iEqfW7L5L2m2VYAtp4ZTxZ90MUcFu7tjcr2+p6NQO3+Alog0NuGKVgYXJ/lmSzOd2mY0H/d2/qiuPgsTjfMRhBujyZDvvhxxXi3ut3k77b5yCpWwcR57dz+RkovH+iPhPBC3MWiW6a/K5Wx7mt34/veKi4ScTEJE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QpDHbAG2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64E8AC433F1; Thu, 11 Apr 2024 03:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712804893; bh=VoGsCBX4wEoCsenDI82mJ6xXvF2nfXfBUIDKz4xNrbo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QpDHbAG2TR/SG6U1HKATjXnVQIUZGDyW9Ii3QdcL9mexoKaNtkc26VBkBzn/AynUU R/5DNhSeS4cPlnTGXvZUgI//xeGXIaWw36S2LfNEGqOrxOywG6Xl+MjpgEKSxCk23E oqlJucbXmI7IZnbF5QEhfbhkzgts/zpF5zW+uTs0flBNllzLvh93ZP0CSZC4kGle9e ngZlDYojxWxAgsEapRhbB5gWh4CWBDDQpi/Vc8jnDB3XLU5v6yiRNpbRaoUrILNxPM OdXswuR9c2Ad8C8yG3Ep5vPOMOqbqeh136BCbei25Dyi20kIQIXdk3oTO5FtX1REyP J0qXt4306rKNg== Date: Wed, 10 Apr 2024 22:08:11 -0500 From: Bjorn Andersson To: Wolfram Sang Cc: linux-i2c@vger.kernel.org, Konrad Dybcio , Andi Shyti , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 12/18] i2c: qup: remove printout on handled timeouts Message-ID: References: <20240410112418.6400-20-wsa+renesas@sang-engineering.com> <20240410112418.6400-32-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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240410112418.6400-32-wsa+renesas@sang-engineering.com> On Wed, Apr 10, 2024 at 01:24:26PM +0200, Wolfram Sang wrote: > 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 Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/i2c/busses/i2c-qup.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-qup.c b/drivers/i2c/busses/i2c-qup.c > index 598102d16677..c9b43a3c4bd3 100644 > --- a/drivers/i2c/busses/i2c-qup.c > +++ b/drivers/i2c/busses/i2c-qup.c > @@ -793,10 +793,8 @@ static int qup_i2c_bam_schedule_desc(struct qup_i2c_dev *qup) > dma_async_issue_pending(qup->brx.dma); > } > > - if (!wait_for_completion_timeout(&qup->xfer, qup->xfer_timeout)) { > - dev_err(qup->dev, "normal trans timed out\n"); > + if (!wait_for_completion_timeout(&qup->xfer, qup->xfer_timeout)) > ret = -ETIMEDOUT; > - } > > if (ret || qup->bus_err || qup->qup_err) { > reinit_completion(&qup->xfer); > -- > 2.43.0 >