Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp949907rdb; Thu, 15 Feb 2024 23:57:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX+aZ2/SzhI97hb+y58xStFlUnUmCly8poZU6efA1L4akC3PrwJRmBEuQWRwxupAcJi+PFHza/edKzS2lt3sT15z00npNdQ4Vv7csQHew== X-Google-Smtp-Source: AGHT+IHJls9LWqxyASe+UinDklsmLk48xFv9MzuK6KK+zdMZfOtl2Btz1UO87POtGQWYoYArJQMn X-Received: by 2002:a05:6a20:6d07:b0:1a0:73e2:f31a with SMTP id fv7-20020a056a206d0700b001a073e2f31amr4353166pzb.19.1708070248024; Thu, 15 Feb 2024 23:57:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708070248; cv=pass; d=google.com; s=arc-20160816; b=HZsRqWQZOYP5Ou8ubdCWkS2x1YPxlmieUsh6fFURxQonWJC/Dw4HjKZTyVDazHy+g6 rv27H+Cv6F+mbT3nYlXIm4CuBtYsEu70kp6eQWAQL8xjpDrFMOhqbSfoyUPopD7XsZxe dLphzjGEXLwcGMF6NXVZg6Dof6tC7npur2WHG5WjBwIKhDfYdDBzm+Sd605EhNX6W7Mt kn08CH1gXNu1s4HIWd5zTsd4+BJR06+hf6zBI84Z4C/XGezk42Fa9tRL8zB28ZyOLO4K bbN9o9q4HMeGU75sjFRmc0UMqu2tvMIejZ0dgd5zkr0c0PdtSUCQiW/dyFr9mGfQPWa2 AfUw== 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; bh=RTJFTvs/wNEBw4Fk+gGTem8kCLFuAGibBZx4VpWFPTw=; fh=3N/bE08i0EmGOJfUKhAtUV3YJ6nlE26M4vY9CEyVO1k=; b=U8vckKdOtEuq1cRcqScCxfDmPg0Dv4g3qv754Dz28ig/4qOd+QWE7PLsxCRsdicUCP hJzRRrezW0mcLl1gF4vKmvy8DSFFB/y5MpEws0DiLvqGH38/fStfB/J298tKOApTCfwi wSNFijY/leiqEh5ZNkfH/QZRofREifLz/W7W+81fEDTf60WcSD9SduVFi9HiDVa7Efrg hGLozcQFC0g6MqXSDg38O0pLj+VmZVOC8YsJIWwvronwxlBC3FtOtNaD+zRJ2hZywjlb V6vHhmoArNKktbtOjyNoxSuiLHq14Wh6Viv2dXhmOf3zawgtC+esNs/vfGZCAq2HzGbj 4Tiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-68198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68198-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m9-20020a056a00080900b006e09edaf334si2667803pfk.375.2024.02.15.23.57.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 23:57:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-68198-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68198-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B8867284AA5 for ; Fri, 16 Feb 2024 07:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D0F51B95A; Fri, 16 Feb 2024 07:56:17 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 39B191B7E5 for ; Fri, 16 Feb 2024 07:56:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708070176; cv=none; b=c6F7K6yg3F0CwVUrtQ8n554p13s44qDYhQ71pe+5UWBvfHTioXnH+S92htr0vn7eit5K0RRM1emMeC5PmlznuCsI4nlUyj3qmoRYisxJEIDkMWXy3n/fKsxVrsbpzqPCguF09M73oqHH0p7BJ4XuN5kz7yxPS1PO8EvlyKpezSk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708070176; c=relaxed/simple; bh=7Pa9RjFBb172HlPrKPKDBn4IiTBiyGH+Iyana8ZOtJo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A1+cfjXbkASEDVun93TEd6M9oIb4mEjIfY0dLuuqxvKcSBBg6Ij7kVFLDXRqNBCmTRSk7GH5hrWWZ/X2Qj63ngGvaoPjViFmo67EKuDnjYzJabPNZn6IuEBmo7PNnFr9sKeEgg3LGjULw92/E+dlxYyVpVTngTKX5rrT5hPL+Zo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rat4l-0003T5-D9; Fri, 16 Feb 2024 08:56:03 +0100 Received: from [2a0a:edc0:0:b01:1d::7b] (helo=bjornoya.blackshift.org) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rat4j-0012AD-TX; Fri, 16 Feb 2024 08:56:01 +0100 Received: from pengutronix.de (unknown [172.20.34.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: mkl-all@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 7C63C29010B; Fri, 16 Feb 2024 07:56:01 +0000 (UTC) Date: Fri, 16 Feb 2024 08:56:00 +0100 From: Marc Kleine-Budde To: Francesco Dolcini Cc: Vincent Mailhol , Chandrasekar Ramakrishnan , Wolfgang Grandegger , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Francesco Dolcini , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] can: m_can: remove redundant check for pm_clock_support Message-ID: <20240216-panning-sesame-2bc66afeeb6a-mkl@pengutronix.de> References: <20240104235723.46931-1-francesco@dolcini.it> <20240216074527.GA5457@francesco-nb> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2pwjxutxb5pv4fzu" Content-Disposition: inline In-Reply-To: <20240216074527.GA5457@francesco-nb> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --2pwjxutxb5pv4fzu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 16.02.2024 08:45:27, Francesco Dolcini wrote: > Hello Marc and Vincent, >=20 > On Fri, Jan 05, 2024 at 12:57:23AM +0100, Francesco Dolcini wrote: > > From: Francesco Dolcini > >=20 > > m_can_clk_start() already skip starting the clock when > > clock support is disabled, remove the redundant check in > > m_can_class_register(). > >=20 > > This also solves the imbalance with m_can_clk_stop() that is called > > afterward in the same function before the return. > >=20 > > Signed-off-by: Francesco Dolcini >=20 > Did you missed this? Or do you have some concern with it? Somehow missed it in the last PR, but already part of the next PR. regards, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung N=C3=BCrnberg | Phone: +49-5121-206917-129 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | --2pwjxutxb5pv4fzu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEUEC6huC2BN0pvD5fKDiiPnotvG8FAmXPFQwACgkQKDiiPnot vG/iDwgAmM9nBdYvm5wqDwxWU8iSl2Bdq2PS3zvmB+7XOu1iYOQ8vV9XTMv5pHrL 1GyKQSTbp0QZ/cVUOXzWa0PATlS9xKXetojJ6V2hFoN/9P0AHhkhVTU04dwsMyM4 NNQDWV2ENdaeKWpThVB9Yatx07lIXl5XOtmPxEqIR3LR59h1EpL2ODLXUADUU4Zu NklAV0XUefT+TX3ckwq/14oZhVaUf+8rXWqUvAw4OpUENWwVqWdUamrZfBFfC9bw lWKITH27Fa51hfZOgyW1EmZC2Tmq5h/T5ONJP9UXk0J4VH178BS6IEBSbeoZFfgN FJAjp782wSr5d+UNawMUKyaiL+VDiw== =VaPV -----END PGP SIGNATURE----- --2pwjxutxb5pv4fzu--