diff options
author | Bard Liao <bardliao@realtek.com> | 2015-02-09 14:41:50 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-06 14:52:46 -0800 |
commit | e1f2c1786c1ff105b75566cf1a5b60fe11939924 (patch) | |
tree | 659c60bd5157c12b9ea3aac47706f3ce5cb50511 /sound/soc | |
parent | 9ada148d279d4c07bff4e65913cda2b6adf735d0 (diff) |
ASoC: rt5670: Set use_single_rw flag for regmap
commit 92b133f251b5f914f3ed28bc83e5b7a40d4e22ed upstream.
RT5670 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/rt5670.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index 9bd8b4f63303..7134f9ebf2f3 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -2439,6 +2439,7 @@ static struct snd_soc_codec_driver soc_codec_dev_rt5670 = { static const struct regmap_config rt5670_regmap = { .reg_bits = 8, .val_bits = 16, + .use_single_rw = true, .max_register = RT5670_VENDOR_ID2 + 1 + (ARRAY_SIZE(rt5670_ranges) * RT5670_PR_SPACING), .volatile_reg = rt5670_volatile_register, |