ARM: dts: r8a7793: Don't disable referenced optional clocks
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 25 Apr 2016 14:08:34 +0000 (16:08 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 27 Apr 2016 01:37:00 +0000 (11:37 +1000)
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.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7793.dtsi

index 6186179..cf6dc2a 100644 (file)
                        #clock-cells = <0>;
                        /* This value must be overridden by the board. */
                        clock-frequency = <0>;
-                       status = "disabled";
                };
 
                /* External SCIF clock */
                        #clock-cells = <0>;
                        /* This value must be overridden by the board. */
                        clock-frequency = <0>;
-                       status = "disabled";
                };
 
                /* Special CPG clocks */