diff options
author | Zidan Wang <zidan.wang@freescale.com> | 2015-04-22 13:01:34 +0800 |
---|---|---|
committer | guoyin.chen <guoyin.chen@freescale.com> | 2015-05-08 17:26:42 +0800 |
commit | dde08607700570a887465f9a192974e880bb808f (patch) | |
tree | 1c897c2bc47c1759217c0d2b316daf91b5cd20d0 | |
parent | 85fb888f0ea785a8fc674b7ca192859b32efa1e1 (diff) |
MLK-10713-2 ASoC: imx-sii902x: Add 96k and 192k sample rate support
Add 96k and 192k sample rate support for hdmi audio.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
-rw-r--r-- | sound/soc/fsl/imx-sii902x.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-sii902x.c b/sound/soc/fsl/imx-sii902x.c index 5f283385bfd1..b4f7061897e8 100644 --- a/sound/soc/fsl/imx-sii902x.c +++ b/sound/soc/fsl/imx-sii902x.c @@ -55,8 +55,10 @@ static int imx_sii902x_startup(struct snd_pcm_substream *substream) support_rates[0] = 32000; support_rates[1] = 48000; + support_rates[2] = 96000; + support_rates[3] = 192000; constraint_rates.list = support_rates; - constraint_rates.count = 2; + constraint_rates.count = 4; ret = snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, &constraint_rates); |