diff options
author | Shengjiu Wang <shengjiu.wang@freescale.com> | 2015-06-08 15:55:04 +0800 |
---|---|---|
committer | Shengjiu Wang <shengjiu.wang@freescale.com> | 2015-06-08 17:45:34 +0800 |
commit | 293299d3dfaa2f0438486e47e276785477e88993 (patch) | |
tree | 57ce7c8a4501c2229b3a49c637c76b11b670a229 /sound | |
parent | 02b6ef8ddcae86f231b3029fc5e2f4821555dfe7 (diff) |
MLK-11053: ASoC: imx_mqs: Remove 96k and 192k support for mqs
If the mclk is 24.576MHz, mqs can't support 96k and 192kHz, because
the we can't get a proper clock divider for mqs.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/imx-mqs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-mqs.c b/sound/soc/fsl/imx-mqs.c index 85ad2520e573..4e32e425ad96 100644 --- a/sound/soc/fsl/imx-mqs.c +++ b/sound/soc/fsl/imx-mqs.c @@ -40,10 +40,8 @@ static int imx_mqs_startup(struct snd_pcm_substream *substream) if (priv->mclk_freq == 24576000) { support_rates[0] = 48000; - support_rates[1] = 96000; - support_rates[2] = 192000; constraint_rates.list = support_rates; - constraint_rates.count = 3; + constraint_rates.count = 1; ret = snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, &constraint_rates); |