Commit 7f242bd8 authored by Mark Brown's avatar Mark Brown

Merge remote-tracking branch 'regmap/fix/rbtree' into regmap-linus

parents 4ff98c9e 4e67fb5f
...@@ -332,7 +332,7 @@ regcache_rbtree_node_alloc(struct regmap *map, unsigned int reg) ...@@ -332,7 +332,7 @@ regcache_rbtree_node_alloc(struct regmap *map, unsigned int reg)
} }
if (!rbnode->blklen) { if (!rbnode->blklen) {
rbnode->blklen = sizeof(*rbnode); rbnode->blklen = 1;
rbnode->base_reg = reg; rbnode->base_reg = reg;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment