mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
ARM: dts: r8a7790: Don't disable referenced optional clocks
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>
This commit is contained in:
parent
55ee434728
commit
03adc1811c
@ -1032,8 +1032,7 @@
|
|||||||
pcie_bus_clk: pcie_bus {
|
pcie_bus_clk: pcie_bus {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <100000000>;
|
clock-frequency = <0>;
|
||||||
status = "disabled";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1062,7 +1061,6 @@
|
|||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
/* This value must be overridden by the board. */
|
/* This value must be overridden by the board. */
|
||||||
clock-frequency = <0>;
|
clock-frequency = <0>;
|
||||||
status = "disabled";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* External USB clock - can be overridden by the board */
|
/* External USB clock - can be overridden by the board */
|
||||||
@ -1078,7 +1076,6 @@
|
|||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
/* This value must be overridden by the board. */
|
/* This value must be overridden by the board. */
|
||||||
clock-frequency = <0>;
|
clock-frequency = <0>;
|
||||||
status = "disabled";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Special CPG clocks */
|
/* Special CPG clocks */
|
||||||
|
Loading…
Reference in New Issue
Block a user