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

This commit is contained in:
Mark Brown 2018-03-12 09:50:31 -07:00
commit d2f2bb8487
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 1 additions and 1 deletions

View File

@ -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)