ARM: dts: r8a7790: Don't disable referenced optional clocks
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 25 Apr 2016 14:08:33 +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/r8a7790.dtsi

index 776a2ae..935064f 100644 (file)
                pcie_bus_clk: pcie_bus {
                        compatible = "fixed-clock";
                        #clock-cells = <0>;
-                       clock-frequency = <100000000>;
-                       status = "disabled";
+                       clock-frequency = <0>;
                };
 
                /*
                        #clock-cells = <0>;
                        /* This value must be overridden by the board. */
                        clock-frequency = <0>;
-                       status = "disabled";
                };
 
                /* External USB clock - can be overridden by the board */
                        #clock-cells = <0>;
                        /* This value must be overridden by the board. */
                        clock-frequency = <0>;
-                       status = "disabled";
                };
 
                /* Special CPG clocks */