mirror of https://gitee.com/openkylin/linux.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 <Paul.Handrigan@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
This commit is contained in:
parent
de5afce2a2
commit
6a6ad7face
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue