diff options
author | Cheng-Cheng Lo <locc@google.com> | 2024-10-29 09:19:41 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-29 19:56:49 +0100 |
commit | 96a54082424dc9d430076563031d9b576176674e (patch) | |
tree | 3361eb2a34fe299f56ab09bd0fb283fc07d2d42a /drivers/base | |
parent | regmap: Merge up fixes from v6.12-rc3 (diff) | |
download | linux-96a54082424dc9d430076563031d9b576176674e.tar.xz linux-96a54082424dc9d430076563031d9b576176674e.zip |
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')
-rw-r--r-- | drivers/base/regmap/regmap-kunit.c | 2 |
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 }, |