diff mbox series

[1/4] ASoC: Intel: bdw-rt5650: Mark FE DAIs as nonatomic

Message ID 20201004090609.29066-1-cezary.rojewski@intel.com
State Accepted
Commit 4cc62da459aeee438a1fcf009e6101292025476f
Headers show
Series [1/4] ASoC: Intel: bdw-rt5650: Mark FE DAIs as nonatomic | expand

Commit Message

Cezary Rojewski Oct. 4, 2020, 9:06 a.m. UTC
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>
---
 sound/soc/intel/boards/bdw-rt5650.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Pierre-Louis Bossart Oct. 5, 2020, 2:49 p.m. UTC | #1
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",
> +		.nonatomic = 1,
>   		.dynamic = 1,
>   		.ops = &bdw_rt5650_fe_ops,
>   		.trigger = {
>
Mark Brown Oct. 5, 2020, 5:54 p.m. UTC | #2
On Sun, 4 Oct 2020 11:06:06 +0200, 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.

Applied to

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

Thanks!

[1/4] ASoC: Intel: bdw-rt5650: Mark FE DAIs as nonatomic
      commit: 4cc62da459aeee438a1fcf009e6101292025476f
[2/4] ASoC: Intel: bdw-rt5677: Mark FE DAIs as nonatomic
      commit: fc5c8729c1ef78d54432d68216c1b13791248bb1
[3/4] ASoC: Intel: broadwell: Mark FE DAIs as nonatomic
      commit: 727d7d84f74744a6f8d583eb5034e926aecc78e7
[4/4] ASoC: Intel: haswell: Mark FE DAIs as nonatomic
      commit: dc155ad5fa6ef7d48fb3c3cc30497b492da0749e

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
diff mbox series

Patch

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",
+		.nonatomic = 1,
 		.dynamic = 1,
 		.ops = &bdw_rt5650_fe_ops,
 		.trigger = {