Re: [PATCH] serial: 8250_lpc18xx: disable clks on error in probe()

From: Andy Shevchenko
Date: Mon Mar 18 2024 - 06:24:39 EST


On Mon, Mar 18, 2024 at 12:03:38PM +0200, Andy Shevchenko wrote:
> On Sat, Mar 16, 2024 at 12:30:09PM +0300, Dan Carpenter wrote:
> > Goto the clean up path to clean up a couple clocks before returning
> > on this error path.
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
>
> Thank you for fixing this!

Btw, alternatively it may be switched to use devm_clk_get_enabled().

--
With Best Regards,
Andy Shevchenko