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 <spujar@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2774433
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Sameer Pujar
2022-08-05 14:37:18 +05:30
committed by mobile promotions
parent f4e2af6f57
commit cb024c2001

View File

@@ -655,9 +655,16 @@ static int tegra210_admaif_put_reg_dump(struct snd_kcontrol *kcontrol,
admaif->reg_dump_flag = ucontrol->value.integer.value[0]; admaif->reg_dump_flag = ucontrol->value.integer.value[0];
if (admaif->reg_dump_flag) { if (admaif->reg_dump_flag) {
#if IS_ENABLED(CONFIG_TEGRA210_ADMA) /*
tegra_adma_dump_ch_reg(); * Below call is implemented by downstream ADMA driver.
#endif * 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); tegra_admaif_reg_dump(cmpnt->dev);
} }