From: Paul Handrigan Date: Fri, 4 May 2018 21:37:41 +0000 (-0500) Subject: ASoC: cs35l35: Add use_single_rw to regmap config X-Git-Tag: v4.18-rc1~127^2^2^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a6ad7face95af0b9e6aaf1eb2261eb70240b89b;p=thirdparty%2Flinux.git 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 Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c index a4a2cb171bdf1..bd6226bde45f6 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)