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

Wolfram Sang
2015-02-19T16:20:39Z

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]