summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2016-05-09 11:24:32 (GMT)
committerMark Brown <broonie@kernel.org>2016-05-10 17:56:01 (GMT)
commitf2ed04a4317e5c8074d98a5c1da175596811a2d8 (patch)
treecdb8507b8d2f9145d34e47055b1766a15ebdf577
parent2da1ab667a506cc6a7dea88b70e6df3d281458f8 (diff)
downloadlinux-f2ed04a4317e5c8074d98a5c1da175596811a2d8.tar.xz
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>
-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 63e8262..d580300 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);