Skip to content

Commit f34b327

Browse files
sheetalbroonie
authored andcommitted
ASoC: tegra: Revert fix for uninitialized flat cache warning in tegra210_ahub
Commit 4d4021b ("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: 4d4021b ("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>
1 parent 70d95c5 commit f34b327

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sound/soc/tegra/tegra210_ahub.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,15 +2077,15 @@ static const struct regmap_config tegra210_ahub_regmap_config = {
20772077
.val_bits = 32,
20782078
.reg_stride = 4,
20792079
.max_register = TEGRA210_MAX_REGISTER_ADDR,
2080-
.cache_type = REGCACHE_FLAT_S,
2080+
.cache_type = REGCACHE_FLAT,
20812081
};
20822082

20832083
static const struct regmap_config tegra186_ahub_regmap_config = {
20842084
.reg_bits = 32,
20852085
.val_bits = 32,
20862086
.reg_stride = 4,
20872087
.max_register = TEGRA186_MAX_REGISTER_ADDR,
2088-
.cache_type = REGCACHE_FLAT_S,
2088+
.cache_type = REGCACHE_FLAT,
20892089
};
20902090

20912091
static const struct regmap_config tegra264_ahub_regmap_config = {
@@ -2094,7 +2094,7 @@ static const struct regmap_config tegra264_ahub_regmap_config = {
20942094
.reg_stride = 4,
20952095
.writeable_reg = tegra264_ahub_wr_reg,
20962096
.max_register = TEGRA264_MAX_REGISTER_ADDR,
2097-
.cache_type = REGCACHE_FLAT_S,
2097+
.cache_type = REGCACHE_FLAT,
20982098
};
20992099

21002100
static const struct tegra_ahub_soc_data soc_data_tegra210 = {

0 commit comments

Comments
 (0)