summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5645.c
diff options
context:
space:
mode:
authorBard Liao <bardliao@realtek.com>2015-03-27 13:19:07 +0100
committerMark Brown <broonie@kernel.org>2015-03-27 17:48:56 +0100
commitafefc12801e501fea90f1d9a678e0985f47dc1bf (patch)
treeb89659d55017f4b7deea5ea27cd2aeaac0137543 /sound/soc/codecs/rt5645.c
parentASoC: rt5645: Redefine format config for rt5650 (diff)
downloadlinux-afefc12801e501fea90f1d9a678e0985f47dc1bf.tar.xz
linux-afefc12801e501fea90f1d9a678e0985f47dc1bf.zip
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>
Diffstat (limited to 'sound/soc/codecs/rt5645.c')
-rw-r--r--sound/soc/codecs/rt5645.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 0133c8c58592..f9edf09253d9 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -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,