Skip to content

Commit

Permalink
ASoC: tegra: setup DAP3<->DAC3 connection by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lucas Stach authored and Mark Brown committed Dec 24, 2012
1 parent 919ad49 commit 15fab58
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions sound/soc/tegra/tegra20_das.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,19 @@ static int tegra20_das_probe(struct platform_device *pdev)
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);

return 0;
Expand Down

0 comments on commit 15fab58

Please sign in to comment.