lkml.org 
[lkml]   [2023]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 1/1] serial: 8250_bcm7271: Use devm_clk_get_optional_enabled()
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


\
 
 \ /
  Last update: 2023-10-03 16:49    [W:0.048 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site