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>
This commit is contained in:
parent
6bba63b68d
commit
f7026c9996
1 changed files with 1 additions and 0 deletions
|
@ -1502,6 +1502,7 @@ static int twl6040_probe(struct snd_soc_codec *codec)
|
||||||
priv->codec = codec;
|
priv->codec = codec;
|
||||||
codec->control_data = dev_get_drvdata(codec->dev->parent);
|
codec->control_data = dev_get_drvdata(codec->dev->parent);
|
||||||
|
|
||||||
|
priv->sysclk_constraints = &hp_constraints;
|
||||||
priv->workqueue = create_singlethread_workqueue("twl6040-codec");
|
priv->workqueue = create_singlethread_workqueue("twl6040-codec");
|
||||||
if (!priv->workqueue) {
|
if (!priv->workqueue) {
|
||||||
ret = -ENOMEM;
|
ret = -ENOMEM;
|
||||||
|
|
Loading…
Add table
Reference in a new issue