Re: [PATCH] clk: return proper ERR_PTR for clk_get when !HAVE_CLK

From: Wolfram Sang
Date: Thu Feb 19 2015 - 11:20:43 EST



Back from a HDD crash...

> The "test-for-zero-clock-rate" method I showed in my previous email
> will work for you - and will avoid using this hateful macro while
> still giving the behaviour you desire, and you won't be caring about
> the detail of the clk API implementation either.

The resume path needed fixing, too. I'll send the patch right away.

Attachment: signature.asc
Description: Digital signature