projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1001354
)
ASoC: sti-sas: enable fast io for regmap
author
Arnaud Pouliquen
<arnaud.pouliquen@st.com>
Mon, 24 Oct 2016 14:42:57 +0000
(16:42 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 26 Oct 2016 10:45:33 +0000
(11:45 +0100)
Some registers accesses are done in atomic context.
Enable fast io to use spinlock instead of mutex to protect access.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/sti-sas.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/sti-sas.c
b/sound/soc/codecs/sti-sas.c
index 7b31ee9b82bc87beb493427049fc82d75e1127e8..d6e00c77edcd7360b8df3d9942e5c4213ba530b6 100644
(file)
--- a/
sound/soc/codecs/sti-sas.c
+++ b/
sound/soc/codecs/sti-sas.c
@@
-424,7
+424,7
@@
static const struct snd_soc_dai_ops stih407_dac_ops = {
static const struct regmap_config stih407_sas_regmap = {
.reg_bits = 32,
.val_bits = 32,
-
+ .fast_io = true,
.max_register = STIH407_AUDIO_DAC_CTRL,
.reg_defaults = stih407_sas_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(stih407_sas_reg_defaults),