Re: [PATCH 02/14] pwm: meson: use devm_clk_get_optional() to get the input clock

2019-05-27 Thread Neil Armstrong
On 25/05/2019 20:11, Martin Blumenstingl wrote: > Simplify the code which fetches the input clock for a PWM channel by > using devm_clk_get_optional(). > This comes with a small functional change: previously all errors except > EPROBE_DEFER were ignored. Now all other errors are also treated as >

[PATCH 02/14] pwm: meson: use devm_clk_get_optional() to get the input clock

2019-05-25 Thread Martin Blumenstingl
Simplify the code which fetches the input clock for a PWM channel by using devm_clk_get_optional(). This comes with a small functional change: previously all errors except EPROBE_DEFER were ignored. Now all other errors are also treated as errors. If no input clock is present