summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2017-08-11 18:51:51 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-08-28 04:14:58 -0700
commit89fb51f2a7e14d10aba136eb11a14e4bb825cf32 (patch)
tree28df532cc20895d6203e19e94282e0808b97811a /lib/mpi/mpi-inline.h
parent8aedd7084222d4cce3acdfe3c71820c674503bee (diff)
msm: thermal: check LMH DCVS devicetree to enable reboot/suspend mitigation
KTM suspend/reboot frequency mitigation is not required for target which has LMH DCVS hardware support. lmh_dcvs_available flag in the KTM is initialized only post OSM driver is up. But during KTM probe, it checks this flag to register suspend/reboot notifier. Since it is not initialized, it always register with these notifier and does frequency mitigation whenever it notifies KTM. To avoid this, check if the LMH DCVS related devicetree node is enabled during KTM probe before enabling suspend/reboot notifier registration. To be safe use the same check in CPU frequency policy callback for KTM max cpu frequency request as well. Change-Id: I337477dd296e1e681498d702ab03c164d7554186 Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions