Skip to content

Commit

Permalink
ASoC: twl6040: Support other sample rates in constraints.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Liam Girdwood authored and Peter Ujfalusi committed Jul 4, 2011
1 parent 6510bdc commit e17e4ab
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sound/soc/codecs/twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand All @@ -1213,6 +1220,10 @@ static struct snd_pcm_hw_constraint_list lp_constraints = {
};

static unsigned int hp_rates[] = {
8000,
16000,
32000,
48000,
96000,
};

Expand Down

0 comments on commit e17e4ab

Please sign in to comment.