]> Git Repo - J-linux.git/commitdiff
ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER
authorShengjiu Wang <[email protected]>
Tue, 26 Nov 2024 05:32:54 +0000 (13:32 +0800)
committerMark Brown <[email protected]>
Wed, 11 Dec 2024 18:45:27 +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_spdif.c

index b6ff04f7138a2ce1dafdbd6baeae501e66e23b52..ee946e0d3f496920b928a457d1e1a18c47c8265b 100644 (file)
@@ -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,
This page took 0.061084 seconds and 4 git commands to generate.