mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-02 00:24:12 +08:00
ASoC: cs35l32: Add missing regmap use_single config
This device requires single register transactions, this will
definely cause problems with the new device ID parsing which uses
regmap_bulk_read but might also show up in the cache sync sometimes.
Add the missing flags to the regmap_config.
Fixes: 283160f141
("ASoC: cs35l32: Minor error paths fixups")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210511175718.15416-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2a682f8219
commit
b1078e9869
@ -261,6 +261,9 @@ static const struct regmap_config cs35l32_regmap = {
|
||||
.readable_reg = cs35l32_readable_register,
|
||||
.precious_reg = cs35l32_precious_register,
|
||||
.cache_type = REGCACHE_RBTREE,
|
||||
|
||||
.use_single_read = true,
|
||||
.use_single_write = true,
|
||||
};
|
||||
|
||||
static int cs35l32_handle_of_data(struct i2c_client *i2c_client,
|
||||
|
Loading…
Reference in New Issue
Block a user