]> Pileus Git - ~andy/linux/commitdiff
ASoC: twl6040: Support other sample rates in constraints.
authorLiam Girdwood <lrg@ti.com>
Fri, 18 Mar 2011 19:00:50 +0000 (19:00 +0000)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 4 Jul 2011 16:36:26 +0000 (19:36 +0300)
Add other supported sample rates to LP and HP modes.

Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/twl6040.c

index 28dc5d9e5839d56803cdad3b44374b163c966d87..7845cdb65a4a355c6afb2f1f7ec8003c5e01a532 100644 (file)
@@ -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,
 };