summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@imgtec.com>2015-05-26 19:01:08 -0300
committerStephen Boyd <sboyd@codeaurora.org>2015-06-04 12:43:33 -0700
commite0b7a79524771ad368abefbbcbd73f130f8e500e (patch)
tree2cdb12e5ed2950199cd755ebfa5d36283eaaf0a2 /fs/cachefiles
parent4f4adfbf8e655914bb80daa0252c90b62fd27d78 (diff)
downloadblackbird-op-linux-e0b7a79524771ad368abefbbcbd73f130f8e500e.tar.gz
blackbird-op-linux-e0b7a79524771ad368abefbbcbd73f130f8e500e.zip
clk: pistachio: Lock the PLL when enabled upon rate change
Currently, when the rate is changed, the driver makes sure the PLL is enabled before doing so. This is done because the PLL cannot be locked while disabled. Once locked, the drivers returns the PLL to its previous enable/disable state. This is a bit cumbersome, and can be simplified. This commit reworks the .set_rate() functions for the integer and fractional PLLs. Upon rate change, the PLL is now locked only if it's already enabled. Also, the driver locks the PLL on .enable(). This makes sure the PLL is locked when enabled, and not locked when disabled. Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud