summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Handrigan <Paul.Handrigan@cirrus.com>2018-05-04 16:37:41 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-03 11:24:48 +0200
commit7a1d79de77f531a4d227f93554215678f8c7ad31 (patch)
tree26382b4c501e8cdcae6d134b5cde7e33f13d0059
parent040fecfd714a67decf3334727da4d6ea99a2f576 (diff)
ASoC: cs35l35: Add use_single_rw to regmap config
commit 6a6ad7face95af0b9e6aaf1eb2261eb70240b89b upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-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 129978d1243e..51ce53e23599 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -1106,6 +1106,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)