Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4192171pxt; Tue, 10 Aug 2021 23:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfOW7RA3pjieYBjGMRGkTqscp+QlKoSqUWvU6jzkwYDQWfyrFuvoJLxEaimBRmo1Px4XRw X-Received: by 2002:a17:907:217a:: with SMTP id rl26mr2158315ejb.9.1628663198645; Tue, 10 Aug 2021 23:26:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628663198; cv=none; d=google.com; s=arc-20160816; b=FGa31ug4KlH12j49wA/1avVtPVduCft8zPdo3vg4eGY2IMwdUZfxAMBhaTH3BUMrrB SlNs6kGwGm/tfDHewF5VCvHBAl7HWQj66wZSx36TyyO8pNNuHTQVUaXlN5SAKVkxt759 inkdGo6gudTwzW+sDavS/r0hA6oXA3PR7OZcFNoHWaCyITiuTrpOxMOMUnESl+fGlzSO cTx+74DT2jomEiUCbe5MCL8tcmIXKqV8iEpHzhGsRIJ9gYDhlJM3Ed470JTCTeJuPiuu ax6rInipt6m7Poy2fcbqV69aoFO4Ozx44gUgXL4yLuJV8U4LmPSFzFjxGSuq0hqleKWo dLIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=570SE4CCT2R5FLbOa+HZaXhNXiBXdyqASBk3lqTkXD0=; b=iSh13iM3n2kD7SHmdS6R4z4kNfXlBC3poWn8HKdn0lShF5tY5XZMQimOcjxEJN1Mhb 5GBrzoVAQ/rZyMlxvsjHiHj0KINE5imUS72EMJWEiqSztNt8lPVEv78zfdO/ER0GrW7F aEW0lMxs5fG+NIw2iDKi/3NwPETaFHlpZZTseWI8mth7wtUSgqy0JwLXdRdO+K5nTD85 O5uO5VL5xw0AUOwopEcUwAr0CyjHcmDO7esqy2u2Y8WLL0MawcFApuD1j5qdktxJ/5Jb u0q+/V6f2fY4J9glxkfAtNkKrw83B39wXb2Ejmz099SSLa0XwkyYqUn0+7ft8oJxueM5 bYTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gw9si12782442ejb.227.2021.08.10.23.26.14; Tue, 10 Aug 2021 23:26:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234664AbhHKGW4 (ORCPT + 99 others); Wed, 11 Aug 2021 02:22:56 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:33384 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234609AbhHKGW4 (ORCPT ); Wed, 11 Aug 2021 02:22:56 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id BAF201C0B76; Wed, 11 Aug 2021 08:22:31 +0200 (CEST) Date: Wed, 11 Aug 2021 08:22:31 +0200 From: Pavel Machek To: Tony Lindgren Cc: linux-omap@vger.kernel.org, Dave Gerlach , Faiz Abbas , Greg Kroah-Hartman , Grygorii Strashko , Keerthy , Nishanth Menon , Suman Anna , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Pavel Machek , Jarkko Nikula Subject: Re: [PATCH] bus: ti-sysc: Fix error handling for sysc_check_active_timer() Message-ID: <20210811062231.GA16241@duo.ucw.cz> References: <20210811061053.32081-1-tony@atomide.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <20210811061053.32081-1-tony@atomide.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2021-08-11 09:10:53, Tony Lindgren wrote: > We have changed the return type for sysc_check_active_timer() from -EBUSY > to -ENXIO, but the gpt12 system timer fix still checks for -EBUSY. We are > also not returning on other errors like we did earlier as noted by > Pavel Machek . >=20 > Commit 3ff340e24c9d ("bus: ti-sysc: Fix gpt12 system timer issue with > reserved status") should have been updated for commit 65fb73676112 > ("bus: ti-sysc: suppress err msg for timers used as clockevent/source"). >=20 > Let's fix the issue by checking for -ENXIO and returning on any other > errors as suggested by Pavel Machek . >=20 > Fixes: 3ff340e24c9d ("bus: ti-sysc: Fix gpt12 system timer issue with res= erved status") > Depends-on: 65fb73676112 ("bus: ti-sysc: suppress err msg for timers used= as clockevent/source") > Reported-by: Pavel Machek > Cc: Grygorii Strashko > Cc: Jarkko Nikula > Signed-off-by: Tony Lindgren Reviewed-by: Pavel Machek (CIP) Best regards, Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCYRNspwAKCRAw5/Bqldv6 8s23AJ9BjLJOmtII04M5RH+LmjUDyQSyogCeJrgFXvRYcUo8RUS9OXm9t6cmozA= =WWdc -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--