msm: common: retrieve clk attribute for tdm and mi2s from dtsi

retrieve clk attribute for tdm and mi2s from dtsi.

Change-Id: Ie00ac5cf7c2e1d7ca56e27d291dfd6af3feb8d8f
Signed-off-by: Prasad Kumpatla <pkumpatl@codeaurora.org>
This commit is contained in:
Prasad Kumpatla
2021-09-03 19:51:14 +05:30
committed by Gerrit - the friendly Code Review server
parent c46348987c
commit adf32e6429
2 changed files with 39 additions and 5 deletions

View File

@@ -49,6 +49,8 @@ struct msm_common_pdata {
atomic_t lpass_audio_hw_vote_ref_cnt;
struct clk *lpass_audio_hw_vote;
uint32_t is_audio_hw_vote_required[MI2S_TDM_AUXPCM_MAX];
uint32_t tdm_clk_attribute[MI2S_TDM_AUXPCM_MAX];
uint32_t mi2s_clk_attribute[MI2S_TDM_AUXPCM_MAX];
};
int snd_card_notify_user(snd_card_status_t card_status);