[PATCH v5 14/18] ASoC: twl6040: Support other sample rates in constraints.

From
Peter Ujfalusi <hidden>
Date
2011-06-13 16:38:55
Also in
alsa-devel, linux-omap, lkml
Reply to
Peter Ujfalusi, 2011-06-13
From: Liam Girdwood <redacted>

Add other supported sample rates to LP and HP modes.

Signed-off-by: Liam Girdwood <redacted>
Signed-off-by: Peter Ujfalusi <redacted>
---
 sound/soc/codecs/twl6040.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 28dc5d9..7845cdb 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -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 */
 
 static unsigned int lp_rates[] = {
+	8000,
+	11250,
+	16000,
+	22500,
+	32000,
+	44100,
+	48000,
 	88200,
 	96000,
 };
@@ -1213,6 +1220,10 @@ static struct snd_pcm_hw_constraint_list lp_constraints = {
 };
 
 static unsigned int hp_rates[] = {
+	8000,
+	16000,
+	32000,
+	48000,
 	96000,
 };
 
-- 
1.7.5.3
Thread (26 messages) 26 messages, 2 authors, last reply 2011-06-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help