diff options
author | Jason CH Hsu <jasonchhsu@google.com> | 2019-04-12 09:11:03 +0000 |
---|---|---|
committer | Jason CH Hsu <jasonchhsu@google.com> | 2019-04-12 09:11:03 +0000 |
commit | 44b0bdf840c4d02a8b9bb312d981cf499b92a48a (patch) | |
tree | 013945ac19dbf200b281278d203563ec452dfc0b | |
parent | df93e6630eb38b1460097b5831e5a7d3fa726490 (diff) | |
download | msm-extra-44b0bdf840c4d02a8b9bb312d981cf499b92a48a.tar.gz |
Revert "asoc: codec: Update the new address and increase clock for new library"android-9.0.0_r0.94
This reverts commit df93e6630eb38b1460097b5831e5a7d3fa726490.
Reason for revert: the new sound model will not phase in this time
Change-Id: Id32cda7d9b5713395c9ff10dec1b0482959839bb
-rw-r--r-- | asoc/codecs/rt5514.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/asoc/codecs/rt5514.c b/asoc/codecs/rt5514.c index ecc2be93..54587c6a 100644 --- a/asoc/codecs/rt5514.c +++ b/asoc/codecs/rt5514.c @@ -139,8 +139,8 @@ static void rt5514_enable_dsp_prepare(struct rt5514_priv *rt5514) regmap_write(rt5514->i2c_regmap, 0xfafafafa, 0x00000000); /* PIN config */ regmap_write(rt5514->i2c_regmap, 0x18002070, 0x00000040); - /* PLL3(QN)=RCOSC*(22+2) */ - regmap_write(rt5514->i2c_regmap, 0x18002240, 0x00000016); + /* PLL3(QN)=RCOSC*(10+2) */ + regmap_write(rt5514->i2c_regmap, 0x18002240, 0x0000000a); /* PLL3 source=RCOSC, fsi=rt_clk */ regmap_write(rt5514->i2c_regmap, 0x18002100, 0x0000000b); /* Power on RCOSC, pll3 */ @@ -654,7 +654,7 @@ static int rt5514_dsp_voice_wake_up_put(struct snd_kcontrol *kcontrol, #if IS_ENABLED(CONFIG_SND_SOC_RT5514_SPI) int ret; - ret = rt5514_spi_burst_write(0x4ffb4800, + ret = rt5514_spi_burst_write(0x4ffb3000, rt5514->musdet_model_buf, rt5514->musdet_model_len); if (ret) { @@ -671,7 +671,7 @@ static int rt5514_dsp_voice_wake_up_put(struct snd_kcontrol *kcontrol, codec->dev); if (fw) { #if IS_ENABLED(CONFIG_SND_SOC_RT5514_SPI) - rt5514_spi_burst_write(0x4ffb4800, + rt5514_spi_burst_write(0x4ffb3000, fw->data, fw->size); #else dev_err(codec->dev, @@ -720,7 +720,7 @@ static int rt5514_dsp_voice_wake_up_put(struct snd_kcontrol *kcontrol, } if (rt5514_fw_validate(rt5514, RT5514_FIRMWARE4, - 0x4ffb4800)) { + 0x4ffb3000)) { rt5514->dsp_enabled = 0; regmap_multi_reg_write( rt5514->i2c_regmap, |