diff options
author | Laxminath Kasam <lkasam@codeaurora.org> | 2018-09-20 18:57:49 +0530 |
---|---|---|
committer | Laxminath Kasam <lkasam@codeaurora.org> | 2018-09-25 11:32:40 +0530 |
commit | 1df09a82e59e5c00a2a59486de525a4752a838de (patch) | |
tree | 7764ec966114ba872fd5ee8506bd6294ec68f772 /soc/swr-mstr-ctrl.h | |
parent | 7cb4ff6b651f11d344e2bc96d9b06e0342d6f166 (diff) | |
download | msm-extra-1df09a82e59e5c00a2a59486de525a4752a838de.tar.gz |
soc: add SSR changes for swr mstr controller
Add changes to recover audio during SSR and PDR
in swr master controller driver.
Change-Id: Ibe3ae097b5f9d59b135d861c5f50f6bbc1c05af6
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
Diffstat (limited to 'soc/swr-mstr-ctrl.h')
-rw-r--r-- | soc/swr-mstr-ctrl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/soc/swr-mstr-ctrl.h b/soc/swr-mstr-ctrl.h index b3dfd7d3..86259665 100644 --- a/soc/swr-mstr-ctrl.h +++ b/soc/swr-mstr-ctrl.h @@ -113,6 +113,7 @@ struct swr_mstr_ctrl { struct completion reset; struct completion broadcast; struct mutex iolock; + struct mutex devlock; struct mutex mlock; struct mutex reslock; u32 swrm_base_reg; @@ -149,6 +150,8 @@ struct swr_mstr_ctrl { u32 clk_stop_mode0_supp; struct work_struct wakeup_work; u32 wakeup_req; + + bool dev_up; }; #endif /* _SWR_WCD_CTRL_H */ |