soc: soundwire: request lpass core and audio votes

Soundwire requires lpass core and lpass audio core to be enabled
to receive interrupts and soundwire register read/writes. Change
enables lpass core and lpass audio core in interrrupt service
routine and during register read/writes.

Change-Id: I56da2fc6efe7dfb1a7d59937b123b3972f633448
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2019-06-14 02:26:52 +05:30
committed by Gerrit - the friendly Code Review server
parent 45d02bcf0b
commit 384addde09
2 changed files with 128 additions and 32 deletions

View File

@@ -155,8 +155,11 @@ struct swr_mstr_ctrl {
u32 intr_mask;
struct port_params **port_param;
struct clk *lpass_core_hw_vote;
struct clk *lpass_core_audio;
u8 num_usecase;
u32 swr_irq_wakeup_capable;
int hw_core_clk_en;
int aud_core_clk_en;
};
#endif /* _SWR_WCD_CTRL_H */