Re: [PATCH] rtc: fix a missing check of clk_prepare

2019-01-22 Thread Alexandre Belloni
On 25/12/2018 20:43:33-0600, Kangjie Lu wrote: > clk_prepare() could fail, so let's check its status and if it fails > return its error code upstream. > > Signed-off-by: Kangjie Lu > --- > drivers/rtc/rtc-coh901331.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > Applied, thanks

Re: [PATCH] rtc: fix a missing check of clk_prepare

2018-12-27 Thread Linus Walleij
On Wed, Dec 26, 2018 at 3:44 AM Kangjie Lu wrote: > clk_prepare() could fail, so let's check its status and if it fails > return its error code upstream. > > Signed-off-by: Kangjie Lu Acked-by: Linus Walleij Yours, Linus Walleij

[PATCH] rtc: fix a missing check of clk_prepare

2018-12-25 Thread Kangjie Lu
clk_prepare() could fail, so let's check its status and if it fails return its error code upstream. Signed-off-by: Kangjie Lu --- drivers/rtc/rtc-coh901331.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-coh901331.c b/drivers/rtc/rtc-coh901331.c index f