summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2011-03-07 15:25:23 +0000
committerPeter Ujfalusi <peter.ujfalusi@ti.com>2011-07-04 19:36:28 +0300
commitf7026c99961da48cc4c09cc4f152db5fb30832e7 (patch)
treee8ed75878f617ff1c70f3a4bdc1d2d9b9070fd72 /sound
parent6bba63b68da7188953bf3cc2e29d1eb4e6a69115 (diff)
downloadop-kernel-dev-f7026c99961da48cc4c09cc4f152db5fb30832e7.zip
op-kernel-dev-f7026c99961da48cc4c09cc4f152db5fb30832e7.tar.gz
ASoC: twl6040: set default constraints.
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/twl6040.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c
index c8f7fc2..39ecf2f 100644
--- a/sound/soc/codecs/twl6040.c
+++ b/sound/soc/codecs/twl6040.c
@@ -1502,6 +1502,7 @@ static int twl6040_probe(struct snd_soc_codec *codec)
priv->codec = codec;
codec->control_data = dev_get_drvdata(codec->dev->parent);
+ priv->sysclk_constraints = &hp_constraints;
priv->workqueue = create_singlethread_workqueue("twl6040-codec");
if (!priv->workqueue) {
ret = -ENOMEM;
OpenPOWER on IntegriCloud