From: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, kernel@stlinux.com,
Takashi Iwai <tiwai@suse.de>,
arnaud.pouliquen@st.com, lgirdwood@gmail.com, broonie@kernel.org,
Moise Gergaud <moise.gergaud@st.com>
Subject: Applied "ASoC: sti: fix channel status update after playback start" to the asoc tree
Date: Wed, 26 Oct 2016 11:46:03 +0100 [thread overview]
Message-ID: <E1bzLid-0005MY-Iq@debutante> (raw)
In-Reply-To: <1477320177-30130-3-git-send-email-arnaud.pouliquen@st.com>
The patch
ASoC: sti: fix channel status update after playback start
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
>From 1e6d304431958929b601b013687b73293ba27b88 Mon Sep 17 00:00:00 2001
From: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Date: Mon, 24 Oct 2016 16:42:52 +0200
Subject: [PATCH] ASoC: sti: fix channel status update after playback start
If 'IEC958 Playback Default' control is updated during playback,
Channel status needs to be set according to the runtime structure.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/sti/uniperif_player.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/sound/soc/sti/uniperif_player.c b/sound/soc/sti/uniperif_player.c
index 1bc8ebc2528e..ad54d4cf58ad 100644
--- a/sound/soc/sti/uniperif_player.c
+++ b/sound/soc/sti/uniperif_player.c
@@ -614,7 +614,11 @@ static int uni_player_ctl_iec958_put(struct snd_kcontrol *kcontrol,
iec958->status[3] = ucontrol->value.iec958.status[3];
mutex_unlock(&player->ctrl_lock);
- uni_player_set_channel_status(player, NULL);
+ if (player->substream && player->substream->runtime)
+ uni_player_set_channel_status(player,
+ player->substream->runtime);
+ else
+ uni_player_set_channel_status(player, NULL);
return 0;
}
--
2.8.1
next prev parent reply other threads:[~2016-10-26 10:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-24 14:42 [PATCH 0/7] ASoC: sti audio fixes and legacy cleaning Arnaud Pouliquen
2016-10-24 14:42 ` [PATCH 1/7] ASoC: sti: fix errors management Arnaud Pouliquen
2016-10-26 10:46 ` Applied "ASoC: sti: fix errors management" to the asoc tree Mark Brown
2016-10-24 14:42 ` [PATCH 2/7] ASoC: sti: fix channel status update after playback start Arnaud Pouliquen
2016-10-26 10:46 ` Mark Brown [this message]
2016-10-24 14:42 ` [PATCH 3/7] ASoC: sti: reset refactoring Arnaud Pouliquen
2016-10-26 10:46 ` Applied "ASoC: sti: reset refactoring" to the asoc tree Mark Brown
2016-10-24 14:42 ` [PATCH 4/7] ASoC: sti: clean unused include Arnaud Pouliquen
2016-10-26 10:46 ` Applied "ASoC: sti: clean unused include" to the asoc tree Mark Brown
2016-10-24 14:42 ` [PATCH 5/7] ASoC: codec: clean legacy in sti-sas Arnaud Pouliquen
2016-10-26 10:46 ` Applied "ASoC: sti-sas: clean legacy in sti-sas" to the asoc tree Mark Brown
2016-10-24 14:42 ` [PATCH 6/7] ASoC: sti: sti-sas: add missing return in messages strings Arnaud Pouliquen
2016-10-26 10:45 ` Applied "ASoC: sti-sas: add missing return in messages strings" to the asoc tree Mark Brown
2016-10-24 14:42 ` [PATCH 7/7] ASoc: codec: sti enable fast io for regmap Arnaud Pouliquen
2016-10-26 10:45 ` Applied "ASoC: sti-sas: enable fast io for regmap" to the asoc tree Mark Brown
2016-10-26 10:40 ` [PATCH 0/7] ASoC: sti audio fixes and legacy cleaning Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1bzLid-0005MY-Iq@debutante \
--to=broonie@kernel.org \
--cc=alsa-devel@alsa-project.org \
--cc=arnaud.pouliquen@st.com \
--cc=kernel@stlinux.com \
--cc=lgirdwood@gmail.com \
--cc=moise.gergaud@st.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox