From 291dad8c87c1e672e78e67753fdaf0fb5ede7597 Mon Sep 17 00:00:00 2001 From: Dara Ramesh Date: Tue, 30 Jan 2018 16:29:00 +0530 Subject: [PATCH] asoc: tegra: fix sound card failure - exclude ARAD DAI link from ADSP config variable dependency, this will fix sound card failure when compiling without ADSP. Change-Id: I3b13a185f538d3e735d5513742d527aaf77eefd0 Signed-off-by: Dara Ramesh Reviewed-on: https://git-master.nvidia.com/r/1648653 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svc-mobile-coverity GVS: Gerrit_Virtual_Submit Reviewed-by: Ravindra Lokhande Reviewed-by: mobile promotions Tested-by: mobile promotions --- sound/soc/tegra-alt/utils/tegra_asoc_machine_alt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/tegra-alt/utils/tegra_asoc_machine_alt.c b/sound/soc/tegra-alt/utils/tegra_asoc_machine_alt.c index 10123247..5ab9edac 100644 --- a/sound/soc/tegra-alt/utils/tegra_asoc_machine_alt.c +++ b/sound/soc/tegra-alt/utils/tegra_asoc_machine_alt.c @@ -1,7 +1,7 @@ /* * tegra_asoc_machine_alt.c - Tegra xbar dai link for machine drivers * - * Copyright (c) 2014-2017 NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2014-2018 NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -2842,6 +2842,7 @@ static struct snd_soc_dai_link .ignore_pmdown_time = 1, .ignore_suspend = 1, }, +#endif [TEGRA186_DAI_LINK_ARAD] = { .name = "ARAD", .stream_name = "ARAD ratio info", @@ -2853,7 +2854,6 @@ static struct snd_soc_dai_link .ignore_pmdown_time = 1, .ignore_suspend = 1, }, -#endif }; static struct snd_soc_codec_conf