Re: [PATCH v1] serial: 8250_dw: Use devm_clk_get_optional() to get the input clock

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

 



On Wed, Sep 25, 2019 at 07:11:55PM +0300, Andy Shevchenko wrote:
> Simplify the code which fetches the input clock by using
> devm_clk_get_optional(). This comes with a small functional change: previously
> all errors were ignored except deferred probe. Now all errors are
> treated as errors. If no input clock is present devm_clk_get_optional() will
> return NULL instead of an error which matches the behavior of the old code.

Please, ignore this one, it will break the systems where more than one clock
defined.

-- 
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