]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: tegra: Revert fix for uninitialized flat cache warning in tegra210_ahub
authorsheetal <sheetal@nvidia.com>
Wed, 17 Dec 2025 13:25:24 +0000 (18:55 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 12 Jan 2026 20:32:03 +0000 (20:32 +0000)
Commit 4d4021b0bbd1 ("ASoC: tegra: Fix uninitialized flat cache warning
in tegra210_ahub") attempted to fix the uninitialized flat cache warning
that is observed for the Tegra210 AHUB driver. However, the change broke
various audio tests because an -EBUSY error is returned when accessing
registers from cache before they are read from hardware. Revert this
change for now, until a proper fix is available.

Fixes: 4d4021b0bbd1 ("ASoC: tegra: Fix uninitialized flat cache warning in tegra210_ahub")
Signed-off-by: sheetal <sheetal@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://patch.msgid.link/20251217132524.2844499-1-sheetal@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra210_ahub.c

index 261d9067d27b60d0c92bbf0a9458628b3bed3b0b..e795907a3963afcffae4b92e7878562fe1aa4a39 100644 (file)
@@ -2077,7 +2077,7 @@ static const struct regmap_config tegra210_ahub_regmap_config = {
        .val_bits               = 32,
        .reg_stride             = 4,
        .max_register           = TEGRA210_MAX_REGISTER_ADDR,
-       .cache_type             = REGCACHE_FLAT_S,
+       .cache_type             = REGCACHE_FLAT,
 };
 
 static const struct regmap_config tegra186_ahub_regmap_config = {
@@ -2085,7 +2085,7 @@ static const struct regmap_config tegra186_ahub_regmap_config = {
        .val_bits               = 32,
        .reg_stride             = 4,
        .max_register           = TEGRA186_MAX_REGISTER_ADDR,
-       .cache_type             = REGCACHE_FLAT_S,
+       .cache_type             = REGCACHE_FLAT,
 };
 
 static const struct regmap_config tegra264_ahub_regmap_config = {
@@ -2094,7 +2094,7 @@ static const struct regmap_config tegra264_ahub_regmap_config = {
        .reg_stride             = 4,
        .writeable_reg          = tegra264_ahub_wr_reg,
        .max_register           = TEGRA264_MAX_REGISTER_ADDR,
-       .cache_type             = REGCACHE_FLAT_S,
+       .cache_type             = REGCACHE_FLAT,
 };
 
 static const struct tegra_ahub_soc_data soc_data_tegra210 = {