summaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorDimitris Papastamos2011-09-29 15:36:27 +0200
committerMark Brown2011-09-30 14:57:47 +0200
commit6eb0f5e0154facfe4f0acdb9f474cde773319efc (patch)
treeef902b2751362a7ecd607a992bd4426a110d308b /include/linux/regmap.h
parentregmap: Save/restore the bypass state upon syncing (diff)
downloadkernel-qcow2-linux-6eb0f5e0154facfe4f0acdb9f474cde773319efc.tar.gz
kernel-qcow2-linux-6eb0f5e0154facfe4f0acdb9f474cde773319efc.tar.xz
kernel-qcow2-linux-6eb0f5e0154facfe4f0acdb9f474cde773319efc.zip
regmap: Implement regcache_cache_bypass helper function
Ensure we've got a function so users can enable/disable the cache bypass option. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 76ac255a17a5..3daac2d8dc37 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -142,5 +142,6 @@ int regmap_update_bits(struct regmap *map, unsigned int reg,
int regcache_sync(struct regmap *map);
void regcache_cache_only(struct regmap *map, bool enable);
+void regcache_cache_bypass(struct regmap *map, bool enable);
#endif