summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPaul Handrigan <Paul.Handrigan@cirrus.com>2018-05-04 23:37:41 +0200
committerMark Brown <broonie@kernel.org>2018-05-05 03:31:11 +0200
commit6a6ad7face95af0b9e6aaf1eb2261eb70240b89b (patch)
tree1679e2c6ae4a54eea961b262280969dd3bdad8d1 /sound
parentASoC: Intel: bytcr_rt565: fix missing assignment to ret_val (diff)
downloadlinux-6a6ad7face95af0b9e6aaf1eb2261eb70240b89b.tar.xz
linux-6a6ad7face95af0b9e6aaf1eb2261eb70240b89b.zip
ASoC: cs35l35: Add use_single_rw to regmap config
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> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/cs35l35.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index a4a2cb171bdf..bd6226bde45f 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)