Skip to content
Commit 5910fa0d authored by Kangjie Lu's avatar Kangjie Lu Committed by Alexandre Belloni
Browse files

rtc: coh901331: fix a missing check of clk_prepare



clk_prepare() could fail, so let's check its status and if it fails
return its error code upstream.

Signed-off-by: default avatarKangjie Lu <kjlu@umn.edu>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent bbb43838
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment