mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 19:14:18 -04:00
Merge remote-tracking branch 'regmap/fix/cache' into regmap-linus
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user