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

John Keeping john at metanate.com
Mon May 9 13:24:32 CEST 2016


The chip only supports single reads and writes.

Signed-off-by: John Keeping <john at metanate.com>
---
 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



More information about the Alsa-devel mailing list