Skip to contentSkip to conversation

ASoC: qcom: common: Mark links as nonatomic

PATCH In review Bjorn Andersson 2 participants 2 messages Jun 18, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/qcom/common.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/qcom/common.c +1 -0
index 97488b5cc515..2c7348ddbbb3 100644
@@ -116,6 +116,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;
Signature · 1 line
2.18.0
maintainer
#1 lore raw

Applied "ASoC: qcom: common: Mark links as nonatomic" to the asoc tree

The patch

ASoC: qcom: common: Mark links as nonatomic

has been applied to the asoc tree at

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark

Quoted 1 line

From c054b41690a44e6534eb2a1beda1b655f3994c5b Mon Sep 17 00:00:00 2001

From: Bjorn Andersson <[email protected]>
Date: Mon, 17 Jun 2019 22:29:09 -0700
Subject: [PATCH] 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.

---
 sound/soc/qcom/common.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/qcom/common.c +1 -0
index 5661025e8cec..a612d860ad26 100644
@@ -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;
Signature · 1 line
2.20.1