summaryrefslogtreecommitdiff
path: root/drivers/base/regmap/regmap-kunit.c
diff options
context:
space:
mode:
authorCheng-Cheng Lo <locc@google.com>2024-10-29 16:19:41 +0800
committerMark Brown <broonie@kernel.org>2024-10-29 18:56:49 +0000
commit96a54082424dc9d430076563031d9b576176674e (patch)
tree3361eb2a34fe299f56ab09bd0fb283fc07d2d42a /drivers/base/regmap/regmap-kunit.c
parent336f0fbf510880f7b2f9ea7e473fefc02222070c (diff)
regmap: kunit: Fix repeated test param
There're duplicated elements in the test param real_cache_types_list. The second one shoulde have cache type REGCACHE_MAPLE. Signed-off-by: Cheng-Cheng Lo <locc@google.com> Link: https://patch.msgid.link/20241029081941.3264566-1-locc@google.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/regmap/regmap-kunit.c')
-rw-r--r--drivers/base/regmap/regmap-kunit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-kunit.c b/drivers/base/regmap/regmap-kunit.c
index a42c7386b210..64ea340950b6 100644
--- a/drivers/base/regmap/regmap-kunit.c
+++ b/drivers/base/regmap/regmap-kunit.c
@@ -126,7 +126,7 @@ static const struct regmap_test_param real_cache_types_list[] = {
{ .cache = REGCACHE_RBTREE, .from_reg = 0x2003 },
{ .cache = REGCACHE_RBTREE, .from_reg = 0x2004 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0 },
- { .cache = REGCACHE_RBTREE, .from_reg = 0, .fast_io = true },
+ { .cache = REGCACHE_MAPLE, .from_reg = 0, .fast_io = true },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2001 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2002 },
{ .cache = REGCACHE_MAPLE, .from_reg = 0x2003 },