]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: dts: r8a7794: Don't disable referenced optional clocks
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 25 Apr 2016 14:08:35 +0000 (16:08 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 27 Apr 2016 01:37:01 +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/r8a7794.dtsi

index b0bce43779f14b0d0975713dbc108619fc5d484b..e45b23f3114954fff02d6ca6baa9764b49420597 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 */