diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-02-03 14:47:08 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-02-10 18:56:31 +0100 |
commit | df9cd56421635433ee42798fdf09138367039732 (patch) | |
tree | 8ef320bf2ef275f1a9adc62beaf167bf22ed832d /drivers/clk/qcom/mmcc-msm8974.c | |
parent | Merge tag 'tegra-for-4.5-clk-fixes' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
download | linux-df9cd56421635433ee42798fdf09138367039732.tar.xz linux-df9cd56421635433ee42798fdf09138367039732.zip |
clk: versatile: mask VCO bits before writing
The Versatile syscon ICST driver OR:s the bits into place but
forgets to mask the previous value, making the code only work
if the register is zero or giving haphazard results. Mask the
19 bits used by the Versatile syscon interface register.
Regression caused and now fixed by yours truly.
Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org
Fixes: 179c8fb3c2a6 ("clk: versatile-icst: convert to use regmap")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/qcom/mmcc-msm8974.c')
0 files changed, 0 insertions, 0 deletions