summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-03-18 20:00:50 +0100
committerPeter Ujfalusi <peter.ujfalusi@ti.com>2011-07-04 18:36:26 +0200
commite17e4ab8018bf0f18084577243cb6800dadd303c (patch)
treef098d79f53e2d3e165d4439f16df5e7985cc6e1b /sound
parentASoC: twl6040: add all ABE DAIs (diff)
downloadlinux-e17e4ab8018bf0f18084577243cb6800dadd303c.tar.xz
linux-e17e4ab8018bf0f18084577243cb6800dadd303c.zip
ASoC: twl6040: Support other sample rates in constraints.
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/twl6040.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index 28dc5d9e5839..7845cdb65a4a 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,
};