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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 09:24:48 +0000 (11:24 +0200)
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>
sound/soc/codecs/cs35l35.c

index 129978d..51ce53e 100644 (file)
@@ -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)