On 10/4/20 4:06 AM, Cezary Rojewski wrote:
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.
I double checked that indeed the machine drivers modified in this series were the only ones without both .dynamic and .nonatomic set.
Acked-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com
Thanks Cezary!
Signed-off-by: Cezary Rojewski cezary.rojewski@intel.com
sound/soc/intel/boards/bdw-rt5650.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/sound/soc/intel/boards/bdw-rt5650.c b/sound/soc/intel/boards/bdw-rt5650.c index c44315af6a4c..aa420b201848 100644 --- a/sound/soc/intel/boards/bdw-rt5650.c +++ b/sound/soc/intel/boards/bdw-rt5650.c @@ -232,6 +232,7 @@ static struct snd_soc_dai_link bdw_rt5650_dais[] = { { .name = "System PCM", .stream_name = "System Playback",
.dynamic = 1, .ops = &bdw_rt5650_fe_ops, .trigger = {.nonatomic = 1,