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;
|
||||
unsigned int val;
|
||||
|
||||
if (map->cache == REGCACHE_NONE)
|
||||
if (map->cache_type == REGCACHE_NONE)
|
||||
return false;
|
||||
|
||||
if (!map->cache_ops)
|
||||
|
|
Loading…
Reference in New Issue