projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bc174e
)
ALSA: hda - Set use_single_rw flag for regmap
author
Takashi Iwai
<tiwai@suse.de>
Fri, 27 Mar 2015 13:07:26 +0000
(14:07 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 27 Mar 2015 13:07:26 +0000
(14:07 +0100)
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>
sound/hda/hdac_regmap.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/hda/hdac_regmap.c
b/sound/hda/hdac_regmap.c
index d401e5c69fe3b627132c803d868e6474c05c07aa..1eb43209fe2c599a2f5f942cfdd575879ba99027 100644
(file)
--- 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)