diff options
| author | Deepak Katragadda <dkatraga@codeaurora.org> | 2016-11-08 13:20:33 -0800 |
|---|---|---|
| committer | Deepak Katragadda <dkatraga@codeaurora.org> | 2016-11-11 14:19:37 -0800 |
| commit | 52168e4c325387c27ace51956752462f0898b2b8 (patch) | |
| tree | d80b394ba8658a93f2c49a9d011b7c5865e74813 /fs/jbd2/commit.c | |
| parent | 8e6988760075ac91403ba2c5096e848197d55704 (diff) | |
clk: msm: Add the CLKFLAG_NO_RATE_CACHE flag for MM clocks on MSM COBALT
The clock driver by default returns immediately if a set_rate()
request is made for a clock with a frequency that matches the
SW frequency state. This is an optimization to avoid performing
unnecessary clock configuration updates.
Due to a HW limitation of the multimedia block on MSM COBALT,
the clock sources or RCGs can end up running at XO frequency
after a multimedia power collapse. In order to avoid this,
have the multimedia clients call set_rate() prior to enabling
their clocks. In addition, add the CLKFLAG_NO_RATE_CACHE flag
to the multimedia clocks to remove the above mentioned set_rate()
optimization and re-configure the clock source for every rate
request, regardless of what rate the RCG is already configured to.
CRs-Fixed: 1088709
Change-Id: I21e1c029e6b245cfa26a187b35bb1f6845302484
Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
