Merge remote-tracking branch 'regmap/fix/cache' into regmap-linus
This commit is contained in:
commit
d2f2bb8487
@ -99,7 +99,7 @@ bool regmap_cached(struct regmap *map, unsigned int reg)
|
|||||||
int ret;
|
int ret;
|
||||||
unsigned int val;
|
unsigned int val;
|
||||||
|
|
||||||
if (map->cache == REGCACHE_NONE)
|
if (map->cache_type == REGCACHE_NONE)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!map->cache_ops)
|
if (!map->cache_ops)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user