Skip to content

Commit

Permalink
ALSA: hda - Set use_single_rw flag for regmap
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Mar 27, 2015
1 parent 8bc174e commit 9d82f92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/hda/hdac_regmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9d82f92

Please sign in to comment.