Skip to content

Commit 1ec6f6c

Browse files
TE-N-ShengjiuWangmehmetb0
authored andcommitted
ASoC: fsl_spdif: change IFACE_PCM to IFACE_MIXER
BugLink: https://bugs.launchpad.net/bugs/2097332 [ Upstream commit bb76e82 ] As the snd_soc_card_get_kcontrol() is updated to use snd_ctl_find_id_mixer() in commit 897cc72 ("ASoC: soc-card: Use snd_ctl_find_id_mixer() instead of open-coding") which make the iface fix to be IFACE_MIXER. Fixes: 897cc72 ("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]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Koichiro Den <[email protected]>
1 parent 64cfb95 commit 1ec6f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/fsl/fsl_spdif.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,7 @@ static struct snd_kcontrol_new fsl_spdif_ctrls[] = {
12041204
},
12051205
/* DPLL lock info get controller */
12061206
{
1207-
.iface = SNDRV_CTL_ELEM_IFACE_PCM,
1207+
.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
12081208
.name = RX_SAMPLE_RATE_KCONTROL,
12091209
.access = SNDRV_CTL_ELEM_ACCESS_READ |
12101210
SNDRV_CTL_ELEM_ACCESS_VOLATILE,

0 commit comments

Comments
 (0)