mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 14:14:01 +08: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