* [PATCH 01/17] ASoC: max98088: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 02/17] ASoC: max98095: " Mark Brown
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98088.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c
index 8b0645c63462070d6d584c7d43d96d21f3dd6cfb..4fa47347111247dc74a90b531dfbe3c19e36dc59 100644
--- a/sound/soc/codecs/max98088.c
+++ b/sound/soc/codecs/max98088.c
@@ -301,7 +301,7 @@ static const struct regmap_config max98088_regmap = {
.reg_defaults = max98088_reg,
.num_reg_defaults = ARRAY_SIZE(max98088_reg),
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
/*
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 02/17] ASoC: max98095: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
2024-11-11 18:47 ` [PATCH 01/17] ASoC: max98088: Use maple tree register cache Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 03/17] " Mark Brown
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98090.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index 2adf744c652634a1539f7c20ca9102e5e8768b01..0454cea0fb13272434a7ed7d023bf519c8a00607 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -2530,7 +2530,7 @@ static const struct regmap_config max98090_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98090_reg),
.volatile_reg = max98090_volatile_register,
.readable_reg = max98090_readable_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static const struct i2c_device_id max98090_i2c_id[] = {
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 03/17] ASoC: max98095: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
2024-11-11 18:47 ` [PATCH 01/17] ASoC: max98088: Use maple tree register cache Mark Brown
2024-11-11 18:47 ` [PATCH 02/17] ASoC: max98095: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 04/17] ASoC: max98363: " Mark Brown
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98095.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98095.c b/sound/soc/codecs/max98095.c
index 7e525d49328d2e2ddb21c60ad4af91a9f92ec4bd..6f492ba8ebb4e7c9a4c58e8c0ff091eef72103b1 100644
--- a/sound/soc/codecs/max98095.c
+++ b/sound/soc/codecs/max98095.c
@@ -238,7 +238,7 @@ static const struct regmap_config max98095_regmap = {
.reg_defaults = max98095_reg_def,
.num_reg_defaults = ARRAY_SIZE(max98095_reg_def),
.max_register = M98095_0FF_REV_ID,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.readable_reg = max98095_readable,
.writeable_reg = max98095_writeable,
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 04/17] ASoC: max98363: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (2 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 03/17] " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 05/17] ASoC: max98371: " Mark Brown
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98363.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98363.c b/sound/soc/codecs/max98363.c
index 950105e5bffdc2c7606e10e7af6f3cf97ece5b4c..af50ccb1d8dea69446d03f0dce993241ffa89098 100644
--- a/sound/soc/codecs/max98363.c
+++ b/sound/soc/codecs/max98363.c
@@ -69,7 +69,7 @@ static const struct regmap_config max98363_sdw_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98363_reg),
.readable_reg = max98363_readable_register,
.volatile_reg = max98363_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.use_single_read = true,
.use_single_write = true,
};
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 05/17] ASoC: max98371: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (3 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 04/17] ASoC: max98363: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 06/17] ASoC: max98373: " Mark Brown
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98371.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98371.c b/sound/soc/codecs/max98371.c
index 852db211ba1e72335857af32f3ac7b0445b89acb..0938272a2b11c919dd5ef507a08e14fa4f54fa4a 100644
--- a/sound/soc/codecs/max98371.c
+++ b/sound/soc/codecs/max98371.c
@@ -361,7 +361,7 @@ static const struct regmap_config max98371_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98371_reg),
.volatile_reg = max98371_volatile_register,
.readable_reg = max98371_readable_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int max98371_i2c_probe(struct i2c_client *i2c)
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 06/17] ASoC: max98373: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (4 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 05/17] ASoC: max98371: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 07/17] ASoC: max98388: " Mark Brown
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98373-i2c.c | 2 +-
sound/soc/codecs/max98373-sdw.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/max98373-i2c.c b/sound/soc/codecs/max98373-i2c.c
index 1f7ff3dbcbbebd604ab51b8c4f8ca567387630b1..a1555f5aa9887c990eb23d6c0af2ef5365de25b6 100644
--- a/sound/soc/codecs/max98373-i2c.c
+++ b/sound/soc/codecs/max98373-i2c.c
@@ -510,7 +510,7 @@ static const struct regmap_config max98373_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98373_reg),
.readable_reg = max98373_readable_register,
.volatile_reg = max98373_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int max98373_i2c_probe(struct i2c_client *i2c)
diff --git a/sound/soc/codecs/max98373-sdw.c b/sound/soc/codecs/max98373-sdw.c
index 26860882fd91aa7611588f2822b909b296dd39b5..89298b9f6e203a021438debd990eabf4c1d75a65 100644
--- a/sound/soc/codecs/max98373-sdw.c
+++ b/sound/soc/codecs/max98373-sdw.c
@@ -240,7 +240,7 @@ static const struct regmap_config max98373_sdw_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98373_reg),
.readable_reg = max98373_readable_register,
.volatile_reg = max98373_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.use_single_read = true,
.use_single_write = true,
};
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 07/17] ASoC: max98388: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (5 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 06/17] ASoC: max98373: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 08/17] ASoC: max98390: " Mark Brown
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98388.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98388.c b/sound/soc/codecs/max98388.c
index b847d7c59ec012778e3d2f44526e96b5210ec494..f05c8079ad36e77f5cee9213bea8f41481da6536 100644
--- a/sound/soc/codecs/max98388.c
+++ b/sound/soc/codecs/max98388.c
@@ -883,7 +883,7 @@ static const struct regmap_config max98388_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98388_reg),
.readable_reg = max98388_readable_register,
.volatile_reg = max98388_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static const struct snd_soc_component_driver soc_codec_dev_max98388 = {
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 08/17] ASoC: max98390: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (6 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 07/17] ASoC: max98388: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 09/17] ASoC: max98396: " Mark Brown
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98390.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c
index 1bae253618fd07d2d796a47267829d42a3d14fe3..ef60fb6af2b1c474c4812e49293d37bfcb1c0f40 100644
--- a/sound/soc/codecs/max98390.c
+++ b/sound/soc/codecs/max98390.c
@@ -994,7 +994,7 @@ static const struct regmap_config max98390_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98390_reg_defaults),
.readable_reg = max98390_readable_register,
.volatile_reg = max98390_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static void max98390_slot_config(struct i2c_client *i2c,
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 09/17] ASoC: max98396: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (7 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 08/17] ASoC: max98390: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 10/17] ASoC: max98504: " Mark Brown
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98396.c | 4 ++--
sound/soc/codecs/max9850.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sound/soc/codecs/max98396.c b/sound/soc/codecs/max98396.c
index e52bb2266fa16792ad5dba79c515b5900ade4b2a..345e04da6d3782b296768d836eb4717d1ea39f7c 100644
--- a/sound/soc/codecs/max98396.c
+++ b/sound/soc/codecs/max98396.c
@@ -1656,7 +1656,7 @@ static const struct regmap_config max98396_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98396_reg),
.readable_reg = max98396_readable_register,
.volatile_reg = max98396_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static const struct regmap_config max98397_regmap = {
@@ -1667,7 +1667,7 @@ static const struct regmap_config max98397_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98397_reg),
.readable_reg = max98397_readable_register,
.volatile_reg = max98397_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static void max98396_read_device_property(struct device *dev,
diff --git a/sound/soc/codecs/max9850.c b/sound/soc/codecs/max9850.c
index c395132689b4ef2e0bca6d1e9a2f3da4990b8600..9ac0b045bc619cd9d55a8083e88a4c2b78fd8cea 100644
--- a/sound/soc/codecs/max9850.c
+++ b/sound/soc/codecs/max9850.c
@@ -46,7 +46,7 @@ static const struct regmap_config max9850_regmap = {
.max_register = MAX9850_DIGITAL_AUDIO,
.volatile_reg = max9850_volatile_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static const DECLARE_TLV_DB_RANGE(max9850_tlv,
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 10/17] ASoC: max98504: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (8 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 09/17] ASoC: max98396: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 11/17] ASoC: max98520: " Mark Brown
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98504.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98504.c b/sound/soc/codecs/max98504.c
index 6b6a7ece4cecc3d114da276faf859c8176955300..677d0894e058c5e84f3fc591fb8bdc02eb8d5633 100644
--- a/sound/soc/codecs/max98504.c
+++ b/sound/soc/codecs/max98504.c
@@ -304,7 +304,7 @@ static const struct regmap_config max98504_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98504_reg_defaults),
.volatile_reg = max98504_volatile_register,
.readable_reg = max98504_readable_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int max98504_i2c_probe(struct i2c_client *client)
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 11/17] ASoC: max98520: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (9 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 10/17] ASoC: max98504: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 12/17] ASoC: max9860: " Mark Brown
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98520.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98520.c b/sound/soc/codecs/max98520.c
index 479ded22672ecf0b9095c5da235d52917af4eaec..67166fa5453a3ee3f0f1d47c55bccf9f5f6502b5 100644
--- a/sound/soc/codecs/max98520.c
+++ b/sound/soc/codecs/max98520.c
@@ -665,7 +665,7 @@ static const struct regmap_config max98520_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98520_reg),
.readable_reg = max98520_readable_register,
.volatile_reg = max98520_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static void max98520_power_on(struct max98520_priv *max98520, bool poweron)
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 12/17] ASoC: max9860: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (10 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 11/17] ASoC: max98520: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 13/17] ASoC: max9867: " Mark Brown
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max9860.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max9860.c b/sound/soc/codecs/max9860.c
index 4015ed2c47ecfe6410bd8a42428579844f803103..7a5c2828ecd1b2d12def27b073f1ef25f301e803 100644
--- a/sound/soc/codecs/max9860.c
+++ b/sound/soc/codecs/max9860.c
@@ -120,7 +120,7 @@ static const struct regmap_config max9860_regmap = {
.max_register = MAX9860_MAX_REGISTER,
.reg_defaults = max9860_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(max9860_reg_defaults),
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static const DECLARE_TLV_DB_SCALE(dva_tlv, -9100, 100, 1);
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 13/17] ASoC: max9867: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (11 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 12/17] ASoC: max9860: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 14/17] ASoC: max9877: " Mark Brown
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max9867.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c
index 50db88fce904ff674c5a1dfc676de58c0ae5c4dd..7a69f82839aa91151174b5ba5dc7b8a3e7958385 100644
--- a/sound/soc/codecs/max9867.c
+++ b/sound/soc/codecs/max9867.c
@@ -644,7 +644,7 @@ static const struct regmap_config max9867_regmap = {
.val_bits = 8,
.max_register = MAX9867_REVISION,
.volatile_reg = max9867_volatile_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int max9867_i2c_probe(struct i2c_client *i2c)
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 14/17] ASoC: max9877: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (12 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 13/17] ASoC: max9867: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 15/17] ASoC: max98925: " Mark Brown
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max9877.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max9877.c b/sound/soc/codecs/max9877.c
index 1bd0d4761ca67df94cf2a0bfdd0944129e431504..6b89bc30b2c9a5046c1d7cc52df38bd87c2e94cb 100644
--- a/sound/soc/codecs/max9877.c
+++ b/sound/soc/codecs/max9877.c
@@ -130,7 +130,7 @@ static const struct regmap_config max9877_regmap = {
.reg_defaults = max9877_regs,
.num_reg_defaults = ARRAY_SIZE(max9877_regs),
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int max9877_i2c_probe(struct i2c_client *client)
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 15/17] ASoC: max98925: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (13 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 14/17] ASoC: max9877: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 16/17] ASoC: max98926: " Mark Brown
2024-11-11 18:47 ` [PATCH 17/17] ASoC: max98927: " Mark Brown
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98925.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98925.c b/sound/soc/codecs/max98925.c
index 66c78051bd09896c6973f24e16d83544f252d3c3..8a931cf840626dce7f8334461c95241cf4de042f 100644
--- a/sound/soc/codecs/max98925.c
+++ b/sound/soc/codecs/max98925.c
@@ -554,7 +554,7 @@ static const struct regmap_config max98925_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98925_reg),
.volatile_reg = max98925_volatile_register,
.readable_reg = max98925_readable_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int max98925_i2c_probe(struct i2c_client *i2c)
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 16/17] ASoC: max98926: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (14 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 15/17] ASoC: max98925: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
2024-11-11 18:47 ` [PATCH 17/17] ASoC: max98927: " Mark Brown
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98926.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98926.c b/sound/soc/codecs/max98926.c
index ae962bda163ebfcd3f9c689d8137bf57e98021b0..ef672a2fcce1bd2008992faa8c39964bbd9657c1 100644
--- a/sound/soc/codecs/max98926.c
+++ b/sound/soc/codecs/max98926.c
@@ -506,7 +506,7 @@ static const struct regmap_config max98926_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98926_reg),
.volatile_reg = max98926_volatile_register,
.readable_reg = max98926_readable_register,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static int max98926_i2c_probe(struct i2c_client *i2c)
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread* [PATCH 17/17] ASoC: max98927: Use maple tree register cache
2024-11-11 18:47 [PATCH 00/17] ASoC: maxim: Convert to use maple tree caches Mark Brown
` (15 preceding siblings ...)
2024-11-11 18:47 ` [PATCH 16/17] ASoC: max98926: " Mark Brown
@ 2024-11-11 18:47 ` Mark Brown
16 siblings, 0 replies; 18+ messages in thread
From: Mark Brown @ 2024-11-11 18:47 UTC (permalink / raw)
To: Liam Girdwood, Peter Rosin; +Cc: linux-sound, linux-kernel, Mark Brown
The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/codecs/max98927.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98927.c b/sound/soc/codecs/max98927.c
index 747aa6f1d54f0dea1dfba798c6cf462c026a5050..e878a2b55996ef3ce3d93138d7b68c969b6d6b82 100644
--- a/sound/soc/codecs/max98927.c
+++ b/sound/soc/codecs/max98927.c
@@ -777,7 +777,7 @@ static const struct regmap_config max98927_regmap = {
.num_reg_defaults = ARRAY_SIZE(max98927_reg),
.readable_reg = max98927_readable_register,
.volatile_reg = max98927_volatile_reg,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
};
static void max98927_slot_config(struct i2c_client *i2c,
--
2.39.5
^ permalink raw reply [flat|nested] 18+ messages in thread