From patchwork Tue Dec 1 08:53:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 335116 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp5495212ilb; Tue, 1 Dec 2020 01:16:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyj+BfwzKkYzWePQfR2paQcw1GIshIgwdxaQjYRTIWHP5y/SwBQ3riihmEvm7uGbctKA9On X-Received: by 2002:aa7:d154:: with SMTP id r20mr2099942edo.258.1606814167909; Tue, 01 Dec 2020 01:16:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606814167; cv=none; d=google.com; s=arc-20160816; b=sGUxd/E+NsfPppFTV34f3U9d1WrgveiPu5S6jNs+9EJCx49vS7rBlIk2ez1ILshEz+ Vy0dYzsgKjlCaXs0bZwUbxN6x3ci1VdH3tXH9vWOngdoMxBLrAp9XVvoPJwfioc5xwZK YBwrgcFBeuU/3FwJ46iG0NAIaKLXnUGt5gmYP8/X4WaEykQ6i5io6iXybdm6vfhXWhXp mPzwB0w+whHcoQ6HFo6kTuH9WmChKxNqXz/j2vUFk+jWi1m2fSWGtKvvL1WFSeUofqJ7 Tkr9USnGbzwH0ZIpIC61DO0Ep1Y3hIMJwa0NqLfHvzHriJEhVXXkgp6EBljDvrdllq6w Keqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=WagyB6cPCIC4ZPd6ts/BE/NZuu0iw9YjX3U05TiOAN4=; b=YAsAm4eKe4AsF0pEuHRAQQvXe8JJT+2gY+mY5Fsnziy9NUMApeJTOw1ljTRtYX2FtV pfYgRj9DXBGSYW0IGnMNiFC8/hM0wzYIwacEO5ESIUY4LG8a38W/rJqs4iNdEMktqIzE oLm041zu7hOtwTsi1d2LRZD+CGiDpbs9e8tNmgfMGs8ChrBzBhiJ2a698GS9/9OQMP1X ngTVE98adwDpaXxCZMfmjjbNgyMOQyUeET2i9BHQSfLL93fsL9kk0MgA9ixxaobpTDoF 4hlI7R4xRhNwUv4qUkQiJ385gHnwMXRrm5Hu35qDaU2sPbbq2xnG5zfOKzb88YT0gT9F vBzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=esd29kfj; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q6si549705eju.361.2020.12.01.01.16.07; Tue, 01 Dec 2020 01:16:07 -0800 (PST) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=esd29kfj; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390059AbgLAJNN (ORCPT + 14 others); Tue, 1 Dec 2020 04:13:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:51450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390054AbgLAJNJ (ORCPT ); Tue, 1 Dec 2020 04:13:09 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 61EC2206C1; Tue, 1 Dec 2020 09:12:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606813949; bh=N7Bh0NS6yEu4dy81gH7ZNfZql5stSWvCg2+a4Z4tAtA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=esd29kfjuiwoFrGST95XgYmjp9E5cNCGVmeOnln7BLlvrQ0HBlXTFiZWAPE2Vo2XD 4DlAlwpsalE2WIv5ViLNE553N+RuzhR4EOiHN8O3omhzDx8ybA4teImUWKJlvOmA56 z7weHfolUFatygwi/fn3x73yc3RAAnsGXGIpR57Q= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Grygorii Strashko , Tony Lindgren , Sasha Levin Subject: [PATCH 5.9 085/152] bus: ti-sysc: suppress err msg for timers used as clockevent/source Date: Tue, 1 Dec 2020 09:53:20 +0100 Message-Id: <20201201084723.007191985@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201201084711.707195422@linuxfoundation.org> References: <20201201084711.707195422@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Grygorii Strashko [ Upstream commit 65fb73676112f6fd107c5e542b2cbcfb206fe881 ] GP Timers used as clockevent/source are not available for ti-sysc bus and handled by Kernel timekeeping core. Now ti-sysc produces error message every time such timer is detected: "ti-sysc: probe of 48040000.target-module failed with error -16" Such messages are not necessary, so suppress them by returning -ENXIO instead of -EBUSY. Fixes: 6cfcd5563b4f ("clocksource/drivers/timer-ti-dm: Fix suspend and resume for am3 and am4") Signed-off-by: Grygorii Strashko Signed-off-by: Tony Lindgren Signed-off-by: Sasha Levin --- drivers/bus/ti-sysc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index 16132e6e91f8d..92ecf1a78ec73 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -2889,7 +2889,7 @@ static int sysc_check_active_timer(struct sysc *ddata) if ((ddata->cfg.quirks & SYSC_QUIRK_NO_RESET_ON_INIT) && (ddata->cfg.quirks & SYSC_QUIRK_NO_IDLE)) - return -EBUSY; + return -ENXIO; return 0; }