summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/lpass-tx-macro.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2023-12-29 15:14:02 +0100
committerTakashi Iwai <tiwai@suse.de>2023-12-29 15:14:07 +0100
commit3abf66a42f1ff0f5ae5de3943ce1551ceedf81a0 (patch)
tree45efce6311378bbd33378cdf2d5689ac4166cc73 /sound/soc/codecs/lpass-tx-macro.c
parent126c18a4bb6460c3d82b57c56941104ed34b7ba6 (diff)
parent423206604b28174698d77bf5ea81365cdd6c0f77 (diff)
downloadlinux-stable-3abf66a42f1ff0f5ae5de3943ce1551ceedf81a0.tar.gz
linux-stable-3abf66a42f1ff0f5ae5de3943ce1551ceedf81a0.tar.bz2
linux-stable-3abf66a42f1ff0f5ae5de3943ce1551ceedf81a0.zip
Merge branch 'topic/cs35l41' into for-next
Pull CS35L41 codec extension series. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/lpass-tx-macro.c')
-rw-r--r--sound/soc/codecs/lpass-tx-macro.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/codecs/lpass-tx-macro.c b/sound/soc/codecs/lpass-tx-macro.c
index 82f9873ffada..124c2e144f33 100644
--- a/sound/soc/codecs/lpass-tx-macro.c
+++ b/sound/soc/codecs/lpass-tx-macro.c
@@ -2021,6 +2021,11 @@ static int tx_macro_probe(struct platform_device *pdev)
tx->dev = dev;
+ /* Set active_decimator default value */
+ tx->active_decimator[TX_MACRO_AIF1_CAP] = -1;
+ tx->active_decimator[TX_MACRO_AIF2_CAP] = -1;
+ tx->active_decimator[TX_MACRO_AIF3_CAP] = -1;
+
/* set MCLK and NPL rates */
clk_set_rate(tx->mclk, MCLK_FREQ);
clk_set_rate(tx->npl, MCLK_FREQ);