summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorArnaud Pouliquen <arnaud.pouliquen@st.com>2016-10-24 16:42:57 +0200
committerMark Brown <broonie@kernel.org>2016-10-26 11:45:33 +0100
commit7e235deb69dc7b1c4b5e1ac63a3157ef98ceeff3 (patch)
tree2d884b04a649f0404896ea4e6880b0f7c00ddd0c /sound
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadlinux-7e235deb69dc7b1c4b5e1ac63a3157ef98ceeff3.tar.bz2
ASoC: sti-sas: enable fast io for regmap
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/sti-sas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sti-sas.c b/sound/soc/codecs/sti-sas.c
index 7b31ee9b82bc..d6e00c77edcd 100644
--- 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),