Re: [PATCH 07/12] hwrng: bcm2835-rng: Manage an optional clock

From: Andrew Lunn
Date: Sat Nov 04 2017 - 16:17:43 EST


> The clk API outside of DT doesn't have knowledge of when it's "complete"
> to be able to determine whether the clock is not present or temporarily
> missing. I've already NAK'd this suggestion.

Hi Russell

O.K, yes, makes sense.

We do have of_clk_get_by_name() and of_clk_get(). Would optional
variants of these be acceptable?

Andrew