diff options
author | Nicolin Chen <b42378@freescale.com> | 2013-08-08 11:26:46 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2013-08-23 07:30:14 +0800 |
commit | ca1a609426096b0329ce8f9e6e3f557b993f35e3 (patch) | |
tree | 3706284969669ab494d572bf87211a70ac391ff9 /sound | |
parent | 6ee6bfd8c2b32159ad155f57c47cba75d00693cb (diff) |
ENGR00274386-1 ASoC: imx-wm8962: Fix 192KHz playback slow issue
We are using auto sample rate feature of WM8962, whereas it doesn't
support those sample rates bigger than 96KHz, 192Khz for example,
so 384 * samplerate would be too big for it to handle. When playing
192KHz 24bit wav file, the playback would be slower than normal.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <b42378@freescale.com>
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 1644c6c12b81..de50026155f6 100644 --- a/sound/soc/fsl/imx-wm8962.c +++ b/sound/soc/fsl/imx-wm8962.c @@ -83,7 +83,7 @@ static int imx_hifi_hw_params(struct snd_pcm_substream *substream, } if (sample_format == SNDRV_PCM_FORMAT_S24_LE) - pll_out = sample_rate * 384; + pll_out = sample_rate * 192; else pll_out = sample_rate * 256; |