aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_conexant.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2009-12-08 11:45:25 -0500
committerJaroslav Kysela <perex@perex.cz>2009-12-15 03:33:17 -0500
commit9e3fd8719f624a43575b56a4777b1552399a8be8 (patch)
tree273a7f8a6e264eb74f966abb18f0a69608f62d88 /sound/pci/hda/patch_conexant.c
parent5b0cb1d850c26893b1468b3a519433a1b7a176be (diff)
ALSA: hda - introduce HDA_SUBDEV_AMP_FLAG (ControlAmp in proc)
The purpose of this changeset is to show information about amplifier setting in the codec proc file. Something like: Control: name="Front Playback Volume", index=0, device=0 ControlAmp: chs=3, dir=Out, idx=0, ofs=0 Control: name="Front Playback Switch", index=0, device=0 ControlAmp: chs=3, dir=In, idx=2, ofs=0 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
-rw-r--r--sound/pci/hda/patch_conexant.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index a09c03c3f62..b68650af40a 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -2178,6 +2178,7 @@ static struct snd_kcontrol_new cxt5066_mixer_master_olpc[] = {
2178 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE | 2178 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
2179 SNDRV_CTL_ELEM_ACCESS_TLV_READ | 2179 SNDRV_CTL_ELEM_ACCESS_TLV_READ |
2180 SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK, 2180 SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK,
2181 .subdevice = HDA_SUBDEV_NID_FLAG | HDA_SUBDEV_AMP_FLAG | 0x10,
2181 .info = snd_hda_mixer_amp_volume_info, 2182 .info = snd_hda_mixer_amp_volume_info,
2182 .get = snd_hda_mixer_amp_volume_get, 2183 .get = snd_hda_mixer_amp_volume_get,
2183 .put = snd_hda_mixer_amp_volume_put, 2184 .put = snd_hda_mixer_amp_volume_put,