clk: ti: am43xx: drop idlest polling from pruss clkctrl clock
authorTero Kristo <t-kristo@ti.com>
Thu, 12 Sep 2019 13:26:12 +0000 (16:26 +0300)
committerTero Kristo <t-kristo@ti.com>
Thu, 31 Oct 2019 13:18:29 +0000 (15:18 +0200)
commitcaf00b53678f172a80217d297e83346f337b427c
tree2177cc9356ddfdaa5f5ba59abc7bf54787d47dd9
parent95a62bf2dbfb8c1fa44f92e2d0116628695fa9bd
clk: ti: am43xx: drop idlest polling from pruss clkctrl clock

The PRUSS modules on AM43xx SoCs have a hardreset line and are controlled
by a PRCM reset line. Any clkctrl enable/disable operations cannot be
checked for module enabled/disabled status independent of the reset
operation, and this causes some unwanted timeouts in the kernel and
unbalanced states for the PRUSS clocks. These details should be handled
by the driver integration code itself.

Add the CLKF_NO_IDLEST flag to the PRUSS clkctrl clock so that these
module status checks are skipped.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/clk/ti/clk-43xx.c