Commit d2f2bb84 authored by Mark Brown's avatar Mark Brown

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

parents 0c8efd61 71df1793
...@@ -99,7 +99,7 @@ bool regmap_cached(struct regmap *map, unsigned int reg) ...@@ -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)
......
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