Unverified Commit bbeffdda authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: fsl: Use maple tree register cache



Several of the NXP drivers use regmaps with a rbtree register cache. Since
the maple tree cache is using a generally more modern data structure which
makes implementation choices more suitable for modern systems let's convert
these drivers to it. This should have no practical impact.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20240924-asoc-imx-maple-v1-1-8b993901f71e@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0e9f73f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ static const struct regmap_config fsl_aud2htx_regmap_config = {
	.readable_reg = fsl_aud2htx_readable_reg,
	.volatile_reg = fsl_aud2htx_volatile_reg,
	.writeable_reg = fsl_aud2htx_writeable_reg,
	.cache_type = REGCACHE_RBTREE,
	.cache_type = REGCACHE_MAPLE,
};

static const struct of_device_id fsl_aud2htx_dt_ids[] = {
+1 −1
Original line number Diff line number Diff line
@@ -1748,7 +1748,7 @@ static const struct regmap_config fsl_easrc_regmap_config = {
	.rd_table = &fsl_easrc_readable_table,
	.wr_table = &fsl_easrc_writeable_table,
	.volatile_table = &fsl_easrc_volatileable_table,
	.cache_type = REGCACHE_RBTREE,
	.cache_type = REGCACHE_MAPLE,
};

#ifdef DEBUG
+1 −1
Original line number Diff line number Diff line
@@ -955,7 +955,7 @@ static const struct regmap_config fsl_micfil_regmap_config = {
	.readable_reg = fsl_micfil_readable_reg,
	.volatile_reg = fsl_micfil_volatile_reg,
	.writeable_reg = fsl_micfil_writeable_reg,
	.cache_type = REGCACHE_RBTREE,
	.cache_type = REGCACHE_MAPLE,
};

/* END OF REGMAP */