commit | 34e452a152efd25d654b7bc809df429337115b03 | [log] [tgz] |
---|---|---|
author | Peter De Schrijver <pdeschrijver@nvidia.com> | Wed Jun 05 18:06:36 2013 +0300 |
committer | Mike Turquette <mturquette@linaro.org> | Tue Jun 11 18:04:08 2013 -0700 |
tree | 24e7acc9298b2c61e7edccbad7b327d16c704d4e | |
parent | 670decdd9544eddbc2ecf14789da4845f8afdab0 [diff] |
clk: honor CLK_GET_RATE_NOCACHE in clk_set_rate clk_set_rate() uses clk->rate directly. This causes problems if the clock is marked as CLK_GET_RATE_NOCACHE. Hence call clk_get_rate() to get the current rate. Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>