mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 18:10:52 +07:00
ASoC: Intel: broadwell: Mark FE DAIs as nonatomic
PCM operations for DAI links connected with DSP platform component involve communication with DSP firmware by IPCs. As IPC protocol may cause thread to sleep while waiting for a response from DSP, propagate that information to ALSA core by marking all FE DAIs as nonatomic. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20201004090609.29066-3-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
fc5c8729c1
commit
727d7d84f7
@ -174,6 +174,7 @@ static struct snd_soc_dai_link broadwell_rt286_dais[] = {
|
||||
{
|
||||
.name = "System PCM",
|
||||
.stream_name = "System Playback/Capture",
|
||||
.nonatomic = 1,
|
||||
.dynamic = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
|
||||
.ops = &broadwell_fe_ops,
|
||||
@ -184,6 +185,7 @@ static struct snd_soc_dai_link broadwell_rt286_dais[] = {
|
||||
{
|
||||
.name = "Offload0",
|
||||
.stream_name = "Offload0 Playback",
|
||||
.nonatomic = 1,
|
||||
.dynamic = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
|
||||
.dpcm_playback = 1,
|
||||
@ -192,6 +194,7 @@ static struct snd_soc_dai_link broadwell_rt286_dais[] = {
|
||||
{
|
||||
.name = "Offload1",
|
||||
.stream_name = "Offload1 Playback",
|
||||
.nonatomic = 1,
|
||||
.dynamic = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
|
||||
.dpcm_playback = 1,
|
||||
@ -200,6 +203,7 @@ static struct snd_soc_dai_link broadwell_rt286_dais[] = {
|
||||
{
|
||||
.name = "Loopback PCM",
|
||||
.stream_name = "Loopback",
|
||||
.nonatomic = 1,
|
||||
.dynamic = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
|
||||
.dpcm_capture = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user