summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPaul Handrigan <Paul.Handrigan@cirrus.com>2018-05-04 16:37:41 -0500
committerMark Brown <broonie@kernel.org>2018-05-05 10:31:11 +0900
commit6a6ad7face95af0b9e6aaf1eb2261eb70240b89b (patch)
tree1679e2c6ae4a54eea961b262280969dd3bdad8d1 /sound
parentde5afce2a22ef7f92e9e8583a3bdbc10e448cddf (diff)
downloadlinux-next-6a6ad7face95af0b9e6aaf1eb2261eb70240b89b.tar.gz
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)