Re: [PATCH v1 1/1] serial: 8250_bcm7271: Use devm_clk_get_optional_enabled()
From: Andy Shevchenko
Date: Tue Oct 03 2023 - 10:48:37 EST
On Tue, Oct 03, 2023 at 05:12:41PM +0300, Andy Shevchenko wrote:
Seems the old version had been sent...
...
> + baud_mux_clk = devm_clk_get_optional_enabled(dev, "sw_baud");
Here should be
ret = PTR_ERR_OR_ZERO(baud_mux_clk);
> + if (IS_ERR(baud_mux_clk))
if (ret)
> + goto release_dma;
...I'll send a v2 later on. Sorry for the noise.
--
With Best Regards,
Andy Shevchenko