diff options
author | Bard Liao <bardliao@realtek.com> | 2015-02-09 09:41:50 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-02-09 10:08:35 +0300 |
commit | 92b133f251b5f914f3ed28bc83e5b7a40d4e22ed (patch) | |
tree | 34a14337ca02e6c8efa9fc9d6340cee20cd554a5 /sound/soc/codecs/rt5670.c | |
parent | e8c47ba3cadcc3649f18e4710804bb6c3791eac2 (diff) | |
download | linux-92b133f251b5f914f3ed28bc83e5b7a40d4e22ed.tar.xz |
ASoC: rt5670: Set use_single_rw flag for regmap
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc/codecs/rt5670.c')
-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 0632b7458a53..6aa4ab24288e 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -2614,6 +2614,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, |