]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commitdiff
ASoC: tegra-alt: Update DMIC DCR coeff to POR
authorViswanath L <viswanathl@nvidia.com>
Tue, 15 Sep 2015 09:55:08 +0000 (15:25 +0530)
committerRavindra Lokhande <rlokhande@nvidia.com>
Tue, 24 May 2016 07:00:03 +0000 (12:30 +0530)
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 <viswanathl@nvidia.com>
(cherry picked from commit eb36521b1c8d91a7760f684d43e65101762d8655)
Reviewed-on: http://git-master/r/802835
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
GVS: Gerrit_Virtual_Submit

sound/soc/tegra-alt/tegra210_dmic_alt.c

index 7726bd3d4b304d8be2e83f79eb1acb037d21a118..b1b22ec593f3a562dbb29c0e2be7668efe31b4fa 100644 (file)
@@ -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,