mirror of
https://github.com/torvalds/linux
synced 2024-10-03 09:48:02 +00:00
drm/bridge: lt9211: Convert to use maple tree register cache
The maple tree register cache is based on a much more modern data structure than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20231001-drm-lt9211-maple-v1-1-1cf74fb10991@kernel.org
This commit is contained in:
parent
fb6f4f47dd
commit
eae0cfcce3
|
@ -89,7 +89,7 @@ static const struct regmap_config lt9211_regmap_config = {
|
|||
.volatile_table = <9211_rw_table,
|
||||
.ranges = <9211_range,
|
||||
.num_ranges = 1,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
.cache_type = REGCACHE_MAPLE,
|
||||
.max_register = 0xda00,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue