diff options
author | Laxminath Kasam <lkasam@codeaurora.org> | 2020-04-28 00:02:32 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-05-17 22:58:21 -0700 |
commit | ea6cbeeb1ad818c8c7907252409edb306c81d0ae (patch) | |
tree | df7be103cf184c08cead7a46328d6515560f0bd8 /soc/swr-mstr-ctrl.h | |
parent | 9128e3099f88c62b16ac317c75b406b06b30046a (diff) | |
download | msm-extra-ea6cbeeb1ad818c8c7907252409edb306c81d0ae.tar.gz |
soc: mstr-ctrl: Retain Audio_HM voting until suspend
Restore change to retain audio_hm voting and
ensure AOP hang issue not seen by masking interrupt
wakeup of swr pinctrl pins.
Change-Id: I51bf36d6d6b0999abf10a4bc94cce900d1adf1d5
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Diffstat (limited to 'soc/swr-mstr-ctrl.h')
-rw-r--r-- | soc/swr-mstr-ctrl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/soc/swr-mstr-ctrl.h b/soc/swr-mstr-ctrl.h index ec5bbd2f..5439ce6f 100644 --- a/soc/swr-mstr-ctrl.h +++ b/soc/swr-mstr-ctrl.h @@ -108,6 +108,7 @@ struct swr_ctrl_platform_data { int (*core_vote)(void *handle, bool enable); int (*reg_irq)(void *handle, irqreturn_t(*irq_handler)(int irq, void *data), void *swr_handle, int type); + int (*pinctrl_setup)(void *handle, bool enable); }; struct swr_mstr_ctrl { @@ -140,6 +141,7 @@ struct swr_mstr_ctrl { int (*core_vote)(void *handle, bool enable); int (*reg_irq)(void *handle, irqreturn_t(*irq_handler)(int irq, void *data), void *swr_handle, int type); + int (*pinctrl_setup)(void *handle, bool enable); int irq; int wake_irq; int version; @@ -165,8 +167,10 @@ struct swr_mstr_ctrl { u32 clk_stop_mode0_supp; struct work_struct wakeup_work; u32 ipc_wakeup; + u32 dmic_sva; bool dev_up; bool ipc_wakeup_triggered; + bool aud_core_err; struct pm_qos_request pm_qos_req; enum swrm_pm_state pm_state; wait_queue_head_t pm_wq; |