From b16a07152be9a174d5eb3b44c4090840b97e7644 Mon Sep 17 00:00:00 2001 From: Viswanath L Date: Tue, 15 Sep 2015 15:25:08 +0530 Subject: [PATCH] ASoC: tegra-alt: Update DMIC DCR coeff to POR TEGRA210_DMIC_DCR_BIQUAD_0_COEF_4 is corrected to 0x0 (as per latest POR) Bug 200134942 Bug 200078772 Change-Id: I628c2d3e18615df476b67761553762a23f1fe47e Signed-off-by: Viswanath L (cherry picked from commit eb36521b1c8d91a7760f684d43e65101762d8655) Reviewed-on: http://git-master/r/802835 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ravindra Lokhande GVS: Gerrit_Virtual_Submit --- sound/soc/tegra-alt/tegra210_dmic_alt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/soc/tegra-alt/tegra210_dmic_alt.c b/sound/soc/tegra-alt/tegra210_dmic_alt.c index 7726bd3d..b1b22ec5 100644 --- a/sound/soc/tegra-alt/tegra210_dmic_alt.c +++ b/sound/soc/tegra-alt/tegra210_dmic_alt.c @@ -413,6 +413,10 @@ static int tegra210_dmic_platform_probe(struct platform_device *pdev) } regcache_cache_only(dmic->regmap, true); + /* Below patch is as per latest POR value */ + regmap_write(dmic->regmap, + TEGRA210_DMIC_DCR_BIQUAD_0_COEF_4, 0x00000000); + if (of_property_read_u32(np, "nvidia,ahub-dmic-id", &pdev->dev.id) < 0) { dev_err(&pdev->dev,