summaryrefslogtreecommitdiffstats
path: root/sound/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-03-27 14:07:26 +0100
committerTakashi Iwai <tiwai@suse.de>2015-03-27 14:07:26 +0100
commit9d82f9272ddd8492afdd721c9999171741be835b (patch)
tree30f3d89f0305edc4fbade01d3b69b4798d997aa6 /sound/hda
parent8bc174e9e3079b2475fb09e244f71fd57de7a802 (diff)
downloadlinux-9d82f9272ddd8492afdd721c9999171741be835b.tar.bz2
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 <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
-rw-r--r--sound/hda/hdac_regmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/hda/hdac_regmap.c b/sound/hda/hdac_regmap.c
index d401e5c69fe3..1eb43209fe2c 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)