ASoC: tegra: setup DAP3<->DAC3 connection by default

This connection is used by the AC97 controller.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Lucas Stach 2012-12-20 00:17:32 +01:00 коммит произвёл Mark Brown
Родитель 919ad49c21
Коммит 15fab58507
1 изменённых файлов: 13 добавлений и 0 удалений

Просмотреть файл

@ -191,6 +191,19 @@ static int tegra20_das_probe(struct platform_device *pdev)
goto err; goto err;
} }
ret = tegra20_das_connect_dap_to_dac(TEGRA20_DAS_DAP_ID_3,
TEGRA20_DAS_DAP_SEL_DAC3);
if (ret) {
dev_err(&pdev->dev, "Can't set up DAS DAP connection\n");
goto err;
}
ret = tegra20_das_connect_dac_to_dap(TEGRA20_DAS_DAC_ID_3,
TEGRA20_DAS_DAC_SEL_DAP3);
if (ret) {
dev_err(&pdev->dev, "Can't set up DAS DAC connection\n");
goto err;
}
platform_set_drvdata(pdev, das); platform_set_drvdata(pdev, das);
return 0; return 0;