msm: mpm: Use clock API to prevent XO shutdown

When the active interrupts cannot be monitored by MPM during system
sleep modes, use linux clock APIs to vote against XO shutdown. Earlier
mpm driver relies on lpm resoures to overwrite the clock votes based on
enabled interrupts. This change decouples the MPM driver from the
lpm resources and thereby removing the dependency on RPM driver.

Change-Id: Ica5409ebb6744998303d84867f9b6d0243664b7e
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
3 files changed