soc: swr-mstr-ctrl: disable pcm out/in when all ports are disabled

PCM_DP_OUT/IN enable bit are used for any data_port which supports
word_length larger than 8. Disable these two bits only when all
the ports are disabled.

Change-Id: I2c65e7658bf90ae01203ebb1b15f14db581ffa55
Signed-off-by: Meng Wang <mengw@codeaurora.org>
このコミットが含まれているのは:
Meng Wang
2021-09-22 12:49:19 +08:00
committed by Phani Kumar Uppalapati
コミット 2b2d743455
2個のファイルの変更15行の追加4行の削除

ファイルの表示

@@ -185,6 +185,7 @@ struct swr_mstr_ctrl {
struct clk *lpass_core_hw_vote;
struct clk *lpass_core_audio;
u8 num_usecase;
u32 pcm_enable_count;
u32 swr_irq_wakeup_capable;
int hw_core_clk_en;
int aud_core_clk_en;