ASoC: Intel: bdw-rt5677: Mark FE DAIs as nonatomic
authorCezary Rojewski <cezary.rojewski@intel.com>
Sun, 4 Oct 2020 09:06:07 +0000 (11:06 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2020 17:18:42 +0000 (18:18 +0100)
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-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bdw-rt5677.c

index d6584768883b6d34a44e1b33d876ddabcaf39e9f..7a3e773d0a1c3f647a7b87d47692dfefa0af0765 100644 (file)
@@ -323,6 +323,7 @@ static struct snd_soc_dai_link bdw_rt5677_dais[] = {
        {
                .name = "System PCM",
                .stream_name = "System Playback/Capture",
+               .nonatomic = 1,
                .dynamic = 1,
                .trigger = {
                        SND_SOC_DPCM_TRIGGER_POST,