]> Git Repo - J-linux.git/commitdiff
ASoC: fsl_xcvr: change IFACE_PCM to IFACE_MIXER
authorShengjiu Wang <[email protected]>
Tue, 26 Nov 2024 05:32:53 +0000 (13:32 +0800)
committerMark Brown <[email protected]>
Wed, 11 Dec 2024 18:45:26 +0000 (18:45 +0000)
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
sound/soc/fsl/fsl_xcvr.c

index 1e0bfd59d511882a33d7ac11992af8fbe9d0b58d..9c184ab7346884a1cd40cf8d2d79b490b611a86f 100644 (file)
@@ -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,
This page took 0.05238 seconds and 4 git commands to generate.