diff mbox

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

Message ID 1307983070-2257-15-git-send-email-peter.ujfalusi@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Ujfalusi June 13, 2011, 4:37 p.m. UTC
From: Liam Girdwood <lrg@ti.com>

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>
---
 sound/soc/codecs/twl6040.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

Comments

Peter Ujfalusi June 17, 2011, 1:09 p.m. UTC | #1
On Friday 17 June 2011 15:22:27 Mark Brown wrote:
> On Mon, Jun 13, 2011 at 07:37:46PM +0300, Peter Ujfalusi wrote:
> > From: Liam Girdwood <lrg@ti.com>
> > 
> > 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>
> 
> This shouldn't be part of this series as far as I can tell, there's no
> textual link with the rest of it?

I just did not wanted this patch to be buried within another patch.
This patch fixes (completes) the supported sample rates for different power 
modes. I can remove it from the series and send it separately, but I would 
prefer if it is handled together with the rest of the changes.
Mark Brown June 17, 2011, 1:22 p.m. UTC | #2
On Mon, Jun 13, 2011 at 07:37:46PM +0300, Peter Ujfalusi wrote:
> From: Liam Girdwood <lrg@ti.com>
> 
> 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>

This shouldn't be part of this series as far as I can tell, there's no
textual link with the rest of it?
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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,
 };