Skip to content

Commit

Permalink
ARM: dts: r8a7793: Don't disable referenced optional clocks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Simon Horman committed Apr 27, 2016
1 parent 03adc18 commit 15bb4bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/arm/boot/dts/r8a7793.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,6 @@
#clock-cells = <0>;
/* This value must be overridden by the board. */
clock-frequency = <0>;
status = "disabled";
};

/* External SCIF clock */
Expand All @@ -916,7 +915,6 @@
#clock-cells = <0>;
/* This value must be overridden by the board. */
clock-frequency = <0>;
status = "disabled";
};

/* Special CPG clocks */
Expand Down

0 comments on commit 15bb4bf

Please sign in to comment.