[PATCH 1/6] arm64: dts: r8a7795: Don't disable referenced optional clocks
Sergei Shtylyov
sergei.shtylyov at cogentembedded.com
Mon Apr 25 07:25:58 PDT 2016
Hello.
On 4/25/2016 5:08 PM, Geert Uytterhoeven wrote:
> clk_get() on a disabled clock node will return -EPROBE_DEFER, which can
> cause drivers to be deferred forever if such clocks are referenced in
> their devices' clocks properties.
>
> Update the various disabled external clock nodes to default to a
> frequency of 0, but don't disable them, to prevent this.
>
> Reported-by: Jürg Billeter <j at bitron.ch>
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> ---
> arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 1 +
> arch/arm64/boot/dts/renesas/r8a7795.dtsi | 5 +----
> 2 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
> index 63d51059ae639e9d..263abaede2a82780 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
> +++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
> @@ -619,6 +619,7 @@
> };
>
> &pcie_bus_clk {
> + clock-frequency = <100000000>;
> status = "okay";
This line is no longer needed.
[...]
MBR, Sergei
More information about the linux-arm-kernel
mailing list