mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-16 15:45:45 +00:00
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>
This commit is contained in:
parent
1001354ca3
commit
7e235deb69
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ static const struct snd_soc_dai_ops stih407_dac_ops = {
|
||||||
static const struct regmap_config stih407_sas_regmap = {
|
static const struct regmap_config stih407_sas_regmap = {
|
||||||
.reg_bits = 32,
|
.reg_bits = 32,
|
||||||
.val_bits = 32,
|
.val_bits = 32,
|
||||||
|
.fast_io = true,
|
||||||
.max_register = STIH407_AUDIO_DAC_CTRL,
|
.max_register = STIH407_AUDIO_DAC_CTRL,
|
||||||
.reg_defaults = stih407_sas_reg_defaults,
|
.reg_defaults = stih407_sas_reg_defaults,
|
||||||
.num_reg_defaults = ARRAY_SIZE(stih407_sas_reg_defaults),
|
.num_reg_defaults = ARRAY_SIZE(stih407_sas_reg_defaults),
|
||||||
|
|
Loading…
Reference in a new issue