aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/rt5645.c5
-rw-r--r--sound/soc/codecs/rt5645.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 665f8b64efe9..57afa12b2f54 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -2112,8 +2112,11 @@ static int rt5645_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask,
2112 struct snd_soc_codec *codec = dai->codec; 2112 struct snd_soc_codec *codec = dai->codec;
2113 unsigned int val = 0; 2113 unsigned int val = 0;
2114 2114
2115 if (rx_mask || tx_mask) 2115 if (rx_mask || tx_mask) {
2116 val |= (1 << 14); 2116 val |= (1 << 14);
2117 snd_soc_update_bits(codec, RT5645_BASS_BACK,
2118 RT5645_G_BB_BST_MASK, RT5645_G_BB_BST_25DB);
2119 }
2117 2120
2118 switch (slots) { 2121 switch (slots) {
2119 case 4: 2122 case 4:
diff --git a/sound/soc/codecs/rt5645.h b/sound/soc/codecs/rt5645.h
index 82f681b02949..196daf03fe28 100644
--- a/sound/soc/codecs/rt5645.h
+++ b/sound/soc/codecs/rt5645.h
@@ -1855,6 +1855,7 @@
1855#define RT5645_M_BB_HPF_R_SFT 6 1855#define RT5645_M_BB_HPF_R_SFT 6
1856#define RT5645_G_BB_BST_MASK (0x3f) 1856#define RT5645_G_BB_BST_MASK (0x3f)
1857#define RT5645_G_BB_BST_SFT 0 1857#define RT5645_G_BB_BST_SFT 0
1858#define RT5645_G_BB_BST_25DB 0x14
1858 1859
1859/* MP3 Plus Control 1 (0xd0) */ 1860/* MP3 Plus Control 1 (0xd0) */
1860#define RT5645_M_MP3_L_MASK (0x1 << 15) 1861#define RT5645_M_MP3_L_MASK (0x1 << 15)