diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-01-16 14:14:26 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-01-16 14:14:26 +0100 |
commit | e5dbdcb31285a975d623d2bf2c9e7b2940489008 (patch) | |
tree | fbff5006000ee7e9d98320363256223bd163df98 /sound/soc/codecs/msm8916-wcd-digital.c | |
parent | 60adcfde92fa40fcb2dbf7cc52f9b096e0cd109a (diff) | |
parent | 85578bbd642f65065039b1765ebe1a867d5435b0 (diff) | |
download | linux-e5dbdcb31285a975d623d2bf2c9e7b2940489008.tar.bz2 |
Merge tag 'asoc-fix-v5.5-rc6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v5.5
This is mostly driver specific fixes, plus an error handling fix
in the core. There is a rather large diffstat for the stm32 SAI
driver, this is a very large but mostly mechanical update which
wraps every register access in the driver to allow a fix to the
locking which avoids circular locks, the active change is much
smaller and more reasonably sized.
Diffstat (limited to 'sound/soc/codecs/msm8916-wcd-digital.c')
-rw-r--r-- | sound/soc/codecs/msm8916-wcd-digital.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/msm8916-wcd-digital.c b/sound/soc/codecs/msm8916-wcd-digital.c index 58b2468fb2a7..09fccacadd6b 100644 --- a/sound/soc/codecs/msm8916-wcd-digital.c +++ b/sound/soc/codecs/msm8916-wcd-digital.c @@ -586,6 +586,12 @@ static int msm8916_wcd_digital_enable_interpolator( snd_soc_component_write(component, rx_gain_reg[w->shift], snd_soc_component_read32(component, rx_gain_reg[w->shift])); break; + case SND_SOC_DAPM_POST_PMD: + snd_soc_component_update_bits(component, LPASS_CDC_CLK_RX_RESET_CTL, + 1 << w->shift, 1 << w->shift); + snd_soc_component_update_bits(component, LPASS_CDC_CLK_RX_RESET_CTL, + 1 << w->shift, 0x0); + break; } return 0; } |