Commit 9d82f927 authored by Takashi Iwai's avatar Takashi Iwai

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 8bc174e9
...@@ -328,6 +328,7 @@ static const struct regmap_config hda_regmap_cfg = { ...@@ -328,6 +328,7 @@ static const struct regmap_config hda_regmap_cfg = {
.cache_type = REGCACHE_RBTREE, .cache_type = REGCACHE_RBTREE,
.reg_read = hda_reg_read, .reg_read = hda_reg_read,
.reg_write = hda_reg_write, .reg_write = hda_reg_write,
.use_single_rw = true,
}; };
int snd_hdac_regmap_init(struct hdac_device *codec) int snd_hdac_regmap_init(struct hdac_device *codec)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment