[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-serial
Subject:    Re: [PATCH v1] serial: 8250_dw: Use devm_clk_get_optional() to get the input clock
From:       Andy Shevchenko <andriy.shevchenko () linux ! intel ! com>
Date:       2019-09-25 16:17:10
Message-ID: 20190925161710.GW5933 () smile ! fi ! intel ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic