]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ASoC: cs35l35: Add use_single_rw to regmap config
authorPaul Handrigan <Paul.Handrigan@cirrus.com>
Fri, 4 May 2018 21:37:41 +0000 (16:37 -0500)
committerMark Brown <broonie@kernel.org>
Sat, 5 May 2018 01:31:11 +0000 (10:31 +0900)
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
sound/soc/codecs/cs35l35.c

index a4a2cb171bdf15dd2647a430a09eaf91bcc99f1c..bd6226bde45f67a32e5829e5dd71e5c2429a45e5 100644 (file)
@@ -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)