summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_aic326x.c7
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",