Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: ICE1712/24 - Change the Multi Track Peak control (level meters) from MIXER to PCM type

* PLEASE NOTE - this change requires the corresponding update of
envy24control for ice1712 - kind of an ABI change.
* The "Multi Track Peak" control is read-only level meters indicator.
* The control is VERY confusing to most users since it is currently displayed
in regular mixers. E.g. alsamixer ignores its read-only status
and allows changing the levels with keys which makes no sense.

Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Pavel Hofman and committed by
Takashi Iwai
2bdf6633 2fb930b5

+2 -2
+1 -1
sound/pci/ice1712/ice1712.c
··· 2259 2259 } 2260 2260 2261 2261 static struct snd_kcontrol_new snd_ice1712_mixer_pro_peak __devinitdata = { 2262 - .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 2262 + .iface = SNDRV_CTL_ELEM_IFACE_PCM, 2263 2263 .name = "Multi Track Peak", 2264 2264 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE, 2265 2265 .info = snd_ice1712_pro_peak_info,
+1 -1
sound/pci/ice1712/ice1724.c
··· 2110 2110 } 2111 2111 2112 2112 static struct snd_kcontrol_new snd_vt1724_mixer_pro_peak __devinitdata = { 2113 - .iface = SNDRV_CTL_ELEM_IFACE_MIXER, 2113 + .iface = SNDRV_CTL_ELEM_IFACE_PCM, 2114 2114 .name = "Multi Track Peak", 2115 2115 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE, 2116 2116 .info = snd_vt1724_pro_peak_info,