Re: [PATCH] can: m_can: remove redundant check for pm_clock_support

From: Marc Kleine-Budde
Date: Fri Feb 16 2024 - 02:57:29 EST


On 16.02.2024 08:45:27, Francesco Dolcini wrote:
> Hello Marc and Vincent,
>
> On Fri, Jan 05, 2024 at 12:57:23AM +0100, Francesco Dolcini wrote:
> > From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
> >
> > 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@xxxxxxxxxxx>
>
> 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

--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |

Attachment: signature.asc
Description: PGP signature