diff options
author | Arnaud Pouliquen <arnaud.pouliquen@st.com> | 2016-10-24 17:42:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-26 13:45:33 +0300 |
commit | 7e235deb69dc7b1c4b5e1ac63a3157ef98ceeff3 (patch) | |
tree | 2d884b04a649f0404896ea4e6880b0f7c00ddd0c /sound | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-7e235deb69dc7b1c4b5e1ac63a3157ef98ceeff3.tar.xz |
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.c | 2 |
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), |