[PATCH 4/9] ASoC: es8328: Use single R/W for regmap

From: John Keeping
Date: Mon May 09 2016 - 07:26:05 EST


The chip only supports single reads and writes.

Signed-off-by: John Keeping <john@xxxxxxxxxxxx>
---
sound/soc/codecs/es8328.c | 1 +
1 file changed, 1 insertion(+)

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);

--
2.8.0.rc4.238.g874082a