Commit e17e4ab8 authored by Liam Girdwood's avatar Liam Girdwood Committed by Peter Ujfalusi

ASoC: twl6040: Support other sample rates in constraints.

Add other supported sample rates to LP and HP modes.
Signed-off-by: default avatarLiam Girdwood <lrg@ti.com>
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 6510bdc3
...@@ -1203,6 +1203,13 @@ static int twl6040_set_bias_level(struct snd_soc_codec *codec, ...@@ -1203,6 +1203,13 @@ static int twl6040_set_bias_level(struct snd_soc_codec *codec,
/* set of rates for each pll: low-power and high-performance */ /* set of rates for each pll: low-power and high-performance */
static unsigned int lp_rates[] = { static unsigned int lp_rates[] = {
8000,
11250,
16000,
22500,
32000,
44100,
48000,
88200, 88200,
96000, 96000,
}; };
...@@ -1213,6 +1220,10 @@ static struct snd_pcm_hw_constraint_list lp_constraints = { ...@@ -1213,6 +1220,10 @@ static struct snd_pcm_hw_constraint_list lp_constraints = {
}; };
static unsigned int hp_rates[] = { static unsigned int hp_rates[] = {
8000,
16000,
32000,
48000,
96000, 96000,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment