clk: qcom: drop CLK_SET_RATE_GATE from sdc clocks
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 19 Jun 2018 13:40:50 +0000 (15:40 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Tue, 19 Jun 2018 17:02:28 +0000 (10:02 -0700)
commit04cdd5af51c610ddc7ff4881790a830a6a97d3fd
treeb53114778640fccc4897bf3dbcdbfd4c091170d0
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
clk: qcom: drop CLK_SET_RATE_GATE from sdc clocks

the mmci driver (drivers/mmc/host/mmci.c) does the following sequence:
* clk_prepare_enable()
* clk_set_rate()

on SDCx_clk which is a children of SDCx_src. SDCx_src has
CLK_SET_RATE_GATE so this sequence should not be allowed but this was not
enforced. IOW, the flag is ignored. Dropping the flag won't change
anything to the current behaviour of the platform.

CLK_SET_RATE_GATE is being fixed and enforced now. If the flag was kept,
the mmci driver would receive -EBUSY when calling clk_set_rate()

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/20180619134051.16726-2-jbrunet@baylibre.com
drivers/clk/qcom/gcc-ipq806x.c
drivers/clk/qcom/gcc-mdm9615.c
drivers/clk/qcom/gcc-msm8660.c
drivers/clk/qcom/gcc-msm8960.c