clk: ti: fix flag space conflict with clkctrl clocks
authorTero Kristo <t-kristo@ti.com>
Tue, 27 Mar 2018 17:47:04 +0000 (20:47 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 5 Apr 2018 22:25:22 +0000 (15:25 -0700)
commit269bd202bc0fd04e841cb123867fd3f49e04ace9
treeffce0e47cc4c557b98f3147fdc470e104372796d
parent49159a9dc3da83f17be00acbc7b2ab84ffec1aa7
clk: ti: fix flag space conflict with clkctrl clocks

The introduction of support for CLK_SET_RATE_PARENT flag for clkctrl
clocks used a generic clock flag, which causes a conflict with the
rest of the clkctrl flags, namely the NO_IDLEST flag. This can cause
boot failures on certain platforms where this flag is introduced, by
omitting the wait for the clockctrl module to be fully enabled before
proceeding with rest of the code.

Fix this by moving all the clkctrl specific flags to their own bit-range.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Fixes: 49159a9dc3da ("clk: ti: add support for CLK_SET_RATE_PARENT flag")
Reported-by: Christophe Lyon <christophe.lyon@linaro.org>
Tested-by: Tony Lindgren <tony@atomide.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clock.h