[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240216074527.GA5457@francesco-nb>
Date: Fri, 16 Feb 2024 08:45:27 +0100
From: Francesco Dolcini <francesco@...cini.it>
To: Marc Kleine-Budde <mkl@...gutronix.de>,
Vincent Mailhol <mailhol.vincent@...adoo.fr>
Cc: Chandrasekar Ramakrishnan <rcsekar@...sung.com>,
Wolfgang Grandegger <wg@...ndegger.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Francesco Dolcini <francesco.dolcini@...adex.com>,
linux-can@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] can: m_can: remove redundant check for pm_clock_support
Hello Marc and Vincent,
On Fri, Jan 05, 2024 at 12:57:23AM +0100, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@...adex.com>
>
> m_can_clk_start() already skip starting the clock when
> clock support is disabled, remove the redundant check in
> m_can_class_register().
>
> This also solves the imbalance with m_can_clk_stop() that is called
> afterward in the same function before the return.
>
> Signed-off-by: Francesco Dolcini <francesco.dolcini@...adex.com>
Did you missed this? Or do you have some concern with it?
Francesco
Powered by blists - more mailing lists