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

Commit a313f9f5 authored by Mark Brown's avatar Mark Brown
Browse files

regmap: Add stub for regcache_sync_region()



Added on another branch.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 5d5b7d4f
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -280,6 +280,13 @@ static inline int regcache_sync(struct regmap *map)
	return -EINVAL;
}

static inline int regcache_sync_region(struct regmap *map, unsigned int min,
				       unsigned int max)
{
	WARN_ONCE(1, "regmap API is disabled");
	return -EINVAL;
}

static inline void regcache_cache_only(struct regmap *map, bool enable)
{
	WARN_ONCE(1, "regmap API is disabled");