diff mbox

ASoC: cs35l35: Add use_single_rw to regmap config

Message ID d4041f11-1d80-47cd-9b06-cc3966d7bacd@EX4.ad.cirrus.com (mailing list archive)
State Accepted
Commit 6a6ad7face95af0b9e6aaf1eb2261eb70240b89b
Headers show

Commit Message

Paul Handrigan May 4, 2018, 9:37 p.m. UTC
Add the use_single_rw flag to regmap config since the
device does not support bulk transactions over i2c.

Signed-off-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
---
 sound/soc/codecs/cs35l35.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index a4a2cb1..bd6226b 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -1105,6 +1105,7 @@  static struct regmap_config cs35l35_regmap = {
 	.readable_reg = cs35l35_readable_register,
 	.precious_reg = cs35l35_precious_register,
 	.cache_type = REGCACHE_RBTREE,
+	.use_single_rw = true,
 };
 
 static irqreturn_t cs35l35_irq(int irq, void *data)