diff options
author | Lucas Stach <dev@lynxeye.de> | 2012-12-19 18:17:32 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-24 11:01:08 -0500 |
commit | 15fab585070ebdd6b31880b3a9a848389d302dd2 (patch) | |
tree | 09f8b9e63169173e5555038454f1102544ed7420 /sound/soc/tegra | |
parent | 919ad49c214adcc80578c7a02efd3fe8460e0797 (diff) |
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>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/tegra20_das.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra20_das.c b/sound/soc/tegra/tegra20_das.c index 654318483877..e72392927bd2 100644 --- a/sound/soc/tegra/tegra20_das.c +++ b/sound/soc/tegra/tegra20_das.c | |||
@@ -191,6 +191,19 @@ static int tegra20_das_probe(struct platform_device *pdev) | |||
191 | goto err; | 191 | goto err; |
192 | } | 192 | } |
193 | 193 | ||
194 | ret = tegra20_das_connect_dap_to_dac(TEGRA20_DAS_DAP_ID_3, | ||
195 | TEGRA20_DAS_DAP_SEL_DAC3); | ||
196 | if (ret) { | ||
197 | dev_err(&pdev->dev, "Can't set up DAS DAP connection\n"); | ||
198 | goto err; | ||
199 | } | ||
200 | ret = tegra20_das_connect_dac_to_dap(TEGRA20_DAS_DAC_ID_3, | ||
201 | TEGRA20_DAS_DAC_SEL_DAP3); | ||
202 | if (ret) { | ||
203 | dev_err(&pdev->dev, "Can't set up DAS DAC connection\n"); | ||
204 | goto err; | ||
205 | } | ||
206 | |||
194 | platform_set_drvdata(pdev, das); | 207 | platform_set_drvdata(pdev, das); |
195 | 208 | ||
196 | return 0; | 209 | return 0; |