Re: [PATCH v1 1/1] serial: 8250_bcm7271: Use devm_clk_get_optional_enabled()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux