From: Takashi Iwai Date: Fri, 27 Mar 2015 13:07:26 +0000 (+0100) Subject: ALSA: hda - Set use_single_rw flag for regmap X-Git-Tag: v5.15~15866^2~19^2~28^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d82f9272ddd8492afdd721c9999171741be835b;p=platform%2Fkernel%2Flinux-starfive.git ALSA: hda - Set use_single_rw flag for regmap HD-audio doesn't support the bulk access. Currently it works even without this flag as implicitly assumed, but it's safer to set explicitly. Signed-off-by: Takashi Iwai --- diff --git a/sound/hda/hdac_regmap.c b/sound/hda/hdac_regmap.c index d401e5c..1eb4320 100644 --- a/sound/hda/hdac_regmap.c +++ b/sound/hda/hdac_regmap.c @@ -328,6 +328,7 @@ static const struct regmap_config hda_regmap_cfg = { .cache_type = REGCACHE_RBTREE, .reg_read = hda_reg_read, .reg_write = hda_reg_write, + .use_single_rw = true, }; int snd_hdac_regmap_init(struct hdac_device *codec)