Re: [PATCH] clocksource: atmel-st: use return value from clk_prepare_enable()

From: Daniel Lezcano
Date: Tue Jan 19 2016 - 03:50:00 EST


On 01/18/2016 08:34 PM, Alexandre Belloni wrote:
ret is used to detect an error but it was not properly updated after
calling clk_prepare_enable() thus it made it impossible to detect an error
when enabling the slow clock.

Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>
---

Applied thanks !

-- Daniel


--
<http://www.linaro.org/> Linaro.org â Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog