Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d2f2bb84 authored by Mark Brown's avatar Mark Brown
Browse files

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

parents 0c8efd61 71df1793
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)