]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ti: Fix FAPLL parent enable bit handling
authorTony Lindgren <tony@atomide.com>
Wed, 28 Jan 2015 17:00:49 +0000 (09:00 -0800)
committerMichael Turquette <mturquette@linaro.org>
Wed, 25 Feb 2015 20:06:29 +0000 (12:06 -0800)
commit329c3519d62d49d3cbcb3c0caf947f18b356a2e9
tree08b4a61f707d891c3a3f13e192908361a736a636
parentb7d65746744b343701de14ca433982a3229390be
clk: ti: Fix FAPLL parent enable bit handling

Commit 13b3446901fd ("clk: ti: Add support for FAPLL on dm816x")
added basic support for the FAPLL on dm818x, but has a bug for the
parent PLL enable bit. The FAPLL_MAIN_PLLEN is defined as BIT(3)
but the code is doing a shift on it.

This means the parent PLL won't get disabled even if all it's child
synthesizers are disabled.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Brian Hutchinson <b.hutchman@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/ti/fapll.c