mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
ASoC: qcom: common: Mark links as nonatomic
The interface used to communicate with the DSP can sleep, so mark the links as nonatomic. This prevents various sleep while atomic errors when bringing up the audio interface. Suggested-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7a1954de30
commit
c054b41690
@ -97,6 +97,7 @@ int qcom_snd_parse_of(struct snd_soc_card *card)
|
||||
goto err;
|
||||
}
|
||||
|
||||
link->nonatomic = 1;
|
||||
link->dpcm_playback = 1;
|
||||
link->dpcm_capture = 1;
|
||||
link->stream_name = link->name;
|
||||
|
Loading…
Reference in New Issue
Block a user