forked from luck/tmp_suning_uos_patched
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
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user