diff options
author | Liam Girdwood <lrg@ti.com> | 2011-03-18 15:00:50 -0400 |
---|---|---|
committer | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-07-04 12:36:26 -0400 |
commit | e17e4ab8018bf0f18084577243cb6800dadd303c (patch) | |
tree | f098d79f53e2d3e165d4439f16df5e7985cc6e1b /sound | |
parent | 6510bdc3f4d7ea783d47af5a58741ea0b77c6823 (diff) |
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.c | 11 |
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, | |||
1203 | /* set of rates for each pll: low-power and high-performance */ | 1203 | /* set of rates for each pll: low-power and high-performance */ |
1204 | 1204 | ||
1205 | static unsigned int lp_rates[] = { | 1205 | static unsigned int lp_rates[] = { |
1206 | 8000, | ||
1207 | 11250, | ||
1208 | 16000, | ||
1209 | 22500, | ||
1210 | 32000, | ||
1211 | 44100, | ||
1212 | 48000, | ||
1206 | 88200, | 1213 | 88200, |
1207 | 96000, | 1214 | 96000, |
1208 | }; | 1215 | }; |
@@ -1213,6 +1220,10 @@ static struct snd_pcm_hw_constraint_list lp_constraints = { | |||
1213 | }; | 1220 | }; |
1214 | 1221 | ||
1215 | static unsigned int hp_rates[] = { | 1222 | static unsigned int hp_rates[] = { |
1223 | 8000, | ||
1224 | 16000, | ||
1225 | 32000, | ||
1226 | 48000, | ||
1216 | 96000, | 1227 | 96000, |
1217 | }; | 1228 | }; |
1218 | 1229 | ||