ASoC: rt5645: Set use_single_rw flag for regmap
RT5645 doesn't support auto incrementing writes so driver should set the use_single_rw flag for regmap. Signed-off-by: Bard Liao <bardliao@realtek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
57bf27365c
commit
afefc12801
1 changed files with 1 additions and 1 deletions
|
@ -2633,7 +2633,7 @@ static struct snd_soc_codec_driver soc_codec_dev_rt5645 = {
|
|||
static const struct regmap_config rt5645_regmap = {
|
||||
.reg_bits = 8,
|
||||
.val_bits = 16,
|
||||
|
||||
.use_single_rw = true,
|
||||
.max_register = RT5645_VENDOR_ID2 + 1 + (ARRAY_SIZE(rt5645_ranges) *
|
||||
RT5645_PR_SPACING),
|
||||
.volatile_reg = rt5645_volatile_register,
|
||||
|
|
Loading…
Add table
Reference in a new issue