diff options
author | Mihai Serban <mihai.serban@nxp.com> | 2017-06-29 14:42:03 +0300 |
---|---|---|
committer | Mihai Serban <mihai.serban@nxp.com> | 2017-07-06 10:41:17 +0300 |
commit | be13ac391d27c9255145921ea22cd6d0605e1a21 (patch) | |
tree | 4264cd6291e35c6bcd6f15a8c46a26830edeb7c3 /sound | |
parent | 93420765950b0932a980b9a1a7f4d2489e4ff165 (diff) |
MLK-15101: ASoC: imx-wm8962: Use a lower FLL output rate for S20_3LE and S24_LE formats
Using a lower FLL out frequency seems to fix the sound distortion we hear
during playback of the second audio file from the command:
aplay -Dhw:0 -d 1 audio96k16b2c.wav audio96k24b2c.wav
Because the new frequency is half of the old one the existing BLCK compute
formula from wm8962 codec driver is still correct, it can derive the new
FLL output frequency.
Signed-off-by: Mihai Serban <mihai.serban@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
(cherry picked from commit 943149fc45dd937daafde6ab27f7cc5eb2b0cecb)
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/imx-wm8962.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-wm8962.c b/sound/soc/fsl/imx-wm8962.c index a8ef512c4f37..964c513c3539 100644 --- a/sound/soc/fsl/imx-wm8962.c +++ b/sound/soc/fsl/imx-wm8962.c @@ -357,7 +357,7 @@ static int imx_hifi_hw_params(struct snd_pcm_substream *substream, if (sample_format == SNDRV_PCM_FORMAT_S24_LE || sample_format == SNDRV_PCM_FORMAT_S20_3LE) - pll_out = sample_rate * 384; + pll_out = sample_rate * 192; else pll_out = sample_rate * 256; |