From 55e3f3b68ce1cf4992be4da16f8dbee5f46f9675 Mon Sep 17 00:00:00 2001 From: Asha T Date: Thu, 13 Aug 2015 18:34:00 +0530 Subject: [PATCH] ASoC: tegra-alt: Add config for card registration Registration of audio card was causing L4T sanity test failures when audio codec was absent. Added a new kernel config to selectively enable this feature. Bug 200130213 Reviewed-on: http://git-master/r/783159 (cherry picked from commit 8adb770420239e57a2061c54dafae08ddaee7928) Change-Id: I0998c122742e4012eda02a3d389fae96ee85202b Signed-off-by: Asha T Reviewed-on: http://git-master/r/793039 Reviewed-by: Shaunak Gupte Reviewed-by: Bharat Nihalani --- sound/soc/tegra-alt/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/tegra-alt/Kconfig b/sound/soc/tegra-alt/Kconfig index 6388f358..3339adf0 100644 --- a/sound/soc/tegra-alt/Kconfig +++ b/sound/soc/tegra-alt/Kconfig @@ -28,6 +28,13 @@ config SND_SOC_TEGRA_ALT_210 depends on SND_SOC_TEGRA_ALT depends on ARCH_TEGRA_APE +config SND_SOC_TEGRA_ALT_FORCE_CARD_REG + tristate "Enable sound card even if audio codec is missing on board" + depends on SND_SOC_TEGRA_ALT + help + Say Y or M if you want to register the sound card even if audio codec + is not connected/present on board. + config SND_SOC_TEGRA30_XBAR_ALT tristate "Tegra30 XBAR driver" depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_30_OR_LATER