From cb024c2001bf6079dfe1f4a8258319cd93e2e8d8 Mon Sep 17 00:00:00 2001 From: Sameer Pujar Date: Fri, 5 Aug 2022 14:37:18 +0530 Subject: [PATCH] TEMP: ASoC: tegra: Disable ADMA register dump call tegra_adma_dump_ch_reg() is implemented by downstream ADMA driver only which is not upstreamed yet. This causes build error with Kernel OOT because upstream ADMA driver is used. Disable this call temporarily until future is decided for this helper. Bug 3583581 Bug 3798682 Change-Id: Ifb625509fe8354e65f40d4047e4e80ef6a5e287f Signed-off-by: Sameer Pujar Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2774433 Reviewed-by: Mohan Kumar D Reviewed-by: Sharad Gupta GVS: Gerrit_Virtual_Submit --- sound/soc/tegra/tegra210_admaif.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sound/soc/tegra/tegra210_admaif.c b/sound/soc/tegra/tegra210_admaif.c index 44984e09..71aed394 100644 --- a/sound/soc/tegra/tegra210_admaif.c +++ b/sound/soc/tegra/tegra210_admaif.c @@ -655,9 +655,16 @@ static int tegra210_admaif_put_reg_dump(struct snd_kcontrol *kcontrol, admaif->reg_dump_flag = ucontrol->value.integer.value[0]; if (admaif->reg_dump_flag) { -#if IS_ENABLED(CONFIG_TEGRA210_ADMA) - tegra_adma_dump_ch_reg(); -#endif + /* + * Below call is implemented by downstream ADMA driver. + * For Kernel OOT this causes build errors since upstream + * ADMA driver is used there. Disable below call for now + * until future for this is decided (Bug 3798682). + */ +//#if IS_ENABLED(CONFIG_TEGRA210_ADMA) +// tegra_adma_dump_ch_reg(); +//#endif + tegra_admaif_reg_dump(cmpnt->dev); }