Skip to content

Commit

Permalink
ASoC: cs35l35: Add use_single_rw to regmap config
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Paul Handrigan authored and Mark Brown committed May 5, 2018
1 parent de5afce commit 6a6ad7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/cs35l35.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a6ad7f

Please sign in to comment.