ASoC: rt5645: Set use_single_rw flag for regmap
authorBard Liao <bardliao@realtek.com>
Fri, 27 Mar 2015 12:19:07 +0000 (20:19 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 27 Mar 2015 16:48:56 +0000 (09:48 -0700)
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>
sound/soc/codecs/rt5645.c

index 0133c8c58592b2acfb16b123cb4b24f8b4872c70..f9edf09253d9f47de2fe37d5410ee22ed3418bd0 100644 (file)
@@ -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,