diff options
author | Nikesh Oswal <noswal@nvidia.com> | 2012-03-14 15:44:02 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-03-23 13:58:30 -0700 |
commit | 941b25aa5081674617065426f9edd71309846b6c (patch) | |
tree | 9e06119a0dda7adcbbcda93d50918493351942a1 /sound/soc/tegra | |
parent | 706958333f11ecce1b005fa7f20c21e928217b43 (diff) |
asoc: aic326x machine: add aic326x for enterprise
Change-Id: I1b41c408b65b79f12b20a5efb7c0d2e3245bad6a
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/90057
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/tegra_aic326x.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_aic326x.c b/sound/soc/tegra/tegra_aic326x.c index 1267830d8d53..26c5f18d0dc9 100644 --- a/sound/soc/tegra/tegra_aic326x.c +++ b/sound/soc/tegra/tegra_aic326x.c @@ -841,7 +841,7 @@ static __devinit int tegra_aic326x_driver_probe(struct platform_device *pdev) struct snd_soc_card *card = &snd_soc_tegra_aic326x; struct tegra_aic326x *machine; struct tegra_aic326x_platform_data *pdata; - int ret, i; + int ret; pdata = pdev->dev.platform_data; if (!pdata) { @@ -875,6 +875,11 @@ static __devinit int tegra_aic326x_driver_probe(struct platform_device *pdev) } #endif + if(machine_is_tegra_enterprise()) { + tegra_aic326x_dai[DAI_LINK_HIFI].codec_name = "aic3262-codec.0-0018"; + tegra_aic326x_dai[DAI_LINK_VOICE_CALL].codec_name = "aic3262-codec.0-0018"; + } + ret = snd_soc_register_card(card); if (ret) { dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n", |