summaryrefslogtreecommitdiff
path: root/sound/soc/tegra/tegra_rt5640.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/tegra/tegra_rt5640.c')
-rw-r--r--sound/soc/tegra/tegra_rt5640.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c
index 82e9c6753815..1cd89d97196e 100644
--- a/sound/soc/tegra/tegra_rt5640.c
+++ b/sound/soc/tegra/tegra_rt5640.c
@@ -583,9 +583,6 @@ static int tegra_rt5640_init(struct snd_soc_pcm_runtime *rtd)
machine->gpio_requested |= GPIO_HP_DET;
}
- machine->bias_level = SND_SOC_BIAS_STANDBY;
- machine->clock_enabled = 1;
-
ret = tegra_asoc_utils_register_ctls(&machine->util_data);
if (ret < 0)
return ret;
@@ -771,6 +768,9 @@ static __devinit int tegra_rt5640_driver_probe(struct platform_device *pdev)
if (ret)
goto err_free_machine;
+ machine->bias_level = SND_SOC_BIAS_STANDBY;
+ machine->clock_enabled = 1;
+
if (!gpio_is_valid(pdata->gpio_ldo1_en)) {
machine->cdc_en = regulator_get(&pdev->dev, "ldo1_en");
if (IS_ERR(machine->cdc_en)) {