* [PATCH v2 0/2] ASoC: fsl: change IFACE_PCM to IFACE_MIXER
@ 2024-11-26 5:32 Shengjiu Wang
2024-11-26 5:32 ` [PATCH v2 1/2] ASoC: fsl_xcvr: " Shengjiu Wang
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Shengjiu Wang @ 2024-11-26 5:32 UTC (permalink / raw)
To: shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, lgirdwood,
broonie, perex, tiwai, linuxppc-dev, linux-sound, linux-kernel
As the snd_soc_card_get_kcontrol() is updated to use
snd_ctl_find_id_mixer() in
commit 897cc72b0837 ("ASoC: soc-card: Use
snd_ctl_find_id_mixer() instead of open-coding")
which make the iface fix to be IFACE_MIXER.
if driver need to use snd_soc_card_get_kcontrol()
the id.type need to be IFACE_MIXER.
changes in v2:
- add fixes tag
Shengjiu Wang (2):
ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER
ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER
sound/soc/fsl/fsl_spdif.c | 2 +-
sound/soc/fsl/fsl_xcvr.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 1/2] ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER
2024-11-26 5:32 [PATCH v2 0/2] ASoC: fsl: change IFACE_PCM to IFACE_MIXER Shengjiu Wang
@ 2024-11-26 5:32 ` Shengjiu Wang
2024-11-26 5:32 ` [PATCH v2 2/2] ASoC: fsl_spdif: " Shengjiu Wang
2024-12-11 20:38 ` [PATCH v2 0/2] ASoC: fsl: " Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Shengjiu Wang @ 2024-11-26 5:32 UTC (permalink / raw)
To: shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, lgirdwood,
broonie, perex, tiwai, linuxppc-dev, linux-sound, linux-kernel
As the snd_soc_card_get_kcontrol() is updated to use
snd_ctl_find_id_mixer() in
commit 897cc72b0837 ("ASoC: soc-card: Use
snd_ctl_find_id_mixer() instead of open-coding")
which make the iface fix to be IFACE_MIXER.
Fixes: 897cc72b0837 ("ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
sound/soc/fsl/fsl_xcvr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/fsl_xcvr.c b/sound/soc/fsl/fsl_xcvr.c
index 1e0bfd59d511..9c184ab73468 100644
--- a/sound/soc/fsl/fsl_xcvr.c
+++ b/sound/soc/fsl/fsl_xcvr.c
@@ -171,7 +171,7 @@ static int fsl_xcvr_capds_put(struct snd_kcontrol *kcontrol,
}
static struct snd_kcontrol_new fsl_xcvr_earc_capds_kctl = {
- .iface = SNDRV_CTL_ELEM_IFACE_PCM,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = "Capabilities Data Structure",
.access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
.info = fsl_xcvr_type_capds_bytes_info,
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 2/2] ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER
2024-11-26 5:32 [PATCH v2 0/2] ASoC: fsl: change IFACE_PCM to IFACE_MIXER Shengjiu Wang
2024-11-26 5:32 ` [PATCH v2 1/2] ASoC: fsl_xcvr: " Shengjiu Wang
@ 2024-11-26 5:32 ` Shengjiu Wang
2024-12-11 20:38 ` [PATCH v2 0/2] ASoC: fsl: " Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Shengjiu Wang @ 2024-11-26 5:32 UTC (permalink / raw)
To: shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, lgirdwood,
broonie, perex, tiwai, linuxppc-dev, linux-sound, linux-kernel
As the snd_soc_card_get_kcontrol() is updated to use
snd_ctl_find_id_mixer() in
commit 897cc72b0837 ("ASoC: soc-card: Use
snd_ctl_find_id_mixer() instead of open-coding")
which make the iface fix to be IFACE_MIXER.
Fixes: 897cc72b0837 ("ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
---
sound/soc/fsl/fsl_spdif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index b6ff04f7138a..ee946e0d3f49 100644
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound/soc/fsl/fsl_spdif.c
@@ -1204,7 +1204,7 @@ static struct snd_kcontrol_new fsl_spdif_ctrls[] = {
},
/* DPLL lock info get controller */
{
- .iface = SNDRV_CTL_ELEM_IFACE_PCM,
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER,
.name = RX_SAMPLE_RATE_KCONTROL,
.access = SNDRV_CTL_ELEM_ACCESS_READ |
SNDRV_CTL_ELEM_ACCESS_VOLATILE,
--
2.34.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 0/2] ASoC: fsl: change IFACE_PCM to IFACE_MIXER
2024-11-26 5:32 [PATCH v2 0/2] ASoC: fsl: change IFACE_PCM to IFACE_MIXER Shengjiu Wang
2024-11-26 5:32 ` [PATCH v2 1/2] ASoC: fsl_xcvr: " Shengjiu Wang
2024-11-26 5:32 ` [PATCH v2 2/2] ASoC: fsl_spdif: " Shengjiu Wang
@ 2024-12-11 20:38 ` Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2024-12-11 20:38 UTC (permalink / raw)
To: shengjiu.wang, Xiubo.Lee, festevam, nicoleotsuka, lgirdwood,
perex, tiwai, linuxppc-dev, linux-sound, linux-kernel,
Shengjiu Wang
On Tue, 26 Nov 2024 13:32:52 +0800, Shengjiu Wang wrote:
> As the snd_soc_card_get_kcontrol() is updated to use
> snd_ctl_find_id_mixer() in
> commit 897cc72b0837 ("ASoC: soc-card: Use
> snd_ctl_find_id_mixer() instead of open-coding")
> which make the iface fix to be IFACE_MIXER.
>
> if driver need to use snd_soc_card_get_kcontrol()
> the id.type need to be IFACE_MIXER.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/2] ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER
commit: 7c17f7780a48b5ed36b6d13a06004fac993e75af
[2/2] ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER
commit: bb76e82bfe57fdd1fe595cb0ccd33159df49ed09
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-12-11 20:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-26 5:32 [PATCH v2 0/2] ASoC: fsl: change IFACE_PCM to IFACE_MIXER Shengjiu Wang
2024-11-26 5:32 ` [PATCH v2 1/2] ASoC: fsl_xcvr: " Shengjiu Wang
2024-11-26 5:32 ` [PATCH v2 2/2] ASoC: fsl_spdif: " Shengjiu Wang
2024-12-11 20:38 ` [PATCH v2 0/2] ASoC: fsl: " Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®