summaryrefslogtreecommitdiff
path: root/soc/swr-mstr-ctrl.h
diff options
context:
space:
mode:
authorAditya Bavanari <abavanar@codeaurora.org>2019-12-22 17:14:15 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-03-09 04:12:20 -0700
commiteb04461c1d986b36cc13753a6ef74d7c9008f9cf (patch)
tree3344353db0834a5d797f42c80286d348213e49a4 /soc/swr-mstr-ctrl.h
parent4e8e51f80e7c392c36dd8506ad520ac681994b16 (diff)
downloadmsm-extra-eb04461c1d986b36cc13753a6ef74d7c9008f9cf.tar.gz
soc: Vote or unvote core and audio hw based on count
In order to synchronize the core and audio hw votes in SSR use cases, vote or unvote for these based on clock count. Change-Id: I0047e2cc689cc96b34992e5f6f59dae84d1d4e4b Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Diffstat (limited to 'soc/swr-mstr-ctrl.h')
-rw-r--r--soc/swr-mstr-ctrl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/soc/swr-mstr-ctrl.h b/soc/swr-mstr-ctrl.h
index ce0b64d5..0fac80e6 100644
--- a/soc/swr-mstr-ctrl.h
+++ b/soc/swr-mstr-ctrl.h
@@ -126,6 +126,7 @@ struct swr_mstr_ctrl {
struct mutex reslock;
struct mutex pm_lock;
struct mutex irq_lock;
+ struct mutex ssr_lock;
u32 swrm_base_reg;
char __iomem *swrm_dig_base;
char __iomem *swrm_hctl_reg;