summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2016-05-09 12:24:32 +0100
committerMark Brown <broonie@kernel.org>2016-05-10 18:56:01 +0100
commitf2ed04a4317e5c8074d98a5c1da175596811a2d8 (patch)
treecdb8507b8d2f9145d34e47055b1766a15ebdf577 /sound/soc/codecs
parent2da1ab667a506cc6a7dea88b70e6df3d281458f8 (diff)
ASoC: es8328: Use single R/W for regmap
The chip only supports single reads and writes. Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/es8328.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/es8328.c b/sound/soc/codecs/es8328.c
index 63e82628222c..d580300d9220 100644
--- a/sound/soc/codecs/es8328.c
+++ b/sound/soc/codecs/es8328.c
@@ -713,6 +713,7 @@ const struct regmap_config es8328_regmap_config = {
.val_bits = 8,
.max_register = ES8328_REG_MAX,
.cache_type = REGCACHE_RBTREE,
+ .use_single_rw = true,
};
EXPORT_SYMBOL_GPL(es8328_regmap_config);