diff mbox

[v5,16/18] ASoC: twl6040: set default constraints.

Message ID 1307983070-2257-17-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>

Set default sysclk constraints to high performance mode.

Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 sound/soc/codecs/twl6040.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Mark Brown June 17, 2011, 1:28 p.m. UTC | #1
On Mon, Jun 13, 2011 at 07:37:48PM +0300, Peter Ujfalusi wrote:
> From: Liam Girdwood <lrg@ti.com>
> 
> Set default sysclk constraints to high performance mode.
> 
> 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>

--
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 d334d86..3c0d8da 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1507,6 +1507,7 @@  static int twl6040_probe(struct snd_soc_codec *codec)
 
 	/* default is high-performance mode */
 	priv->headset_mode = 1;
+	priv->sysclk_constraints = &hp_constraints;
 
 	priv->workqueue = create_singlethread_workqueue("twl6040-codec");
 	if (!priv->workqueue) {