summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorMichael Karcher2012-04-06 15:34:15 +0200
committerTakashi Iwai2012-04-07 12:25:02 +0200
commit4f32456e5ed4852abc9b555c887dfb3481ea9cab (patch)
tree3aecee12c3503913afbe14e863bf0b0476836a2d /sound/pci/hda/hda_codec.h
parentALSA: asihpi - fix return value of hpios_locked_mem_alloc() (diff)
downloadkernel-qcow2-linux-4f32456e5ed4852abc9b555c887dfb3481ea9cab.tar.gz
kernel-qcow2-linux-4f32456e5ed4852abc9b555c887dfb3481ea9cab.tar.xz
kernel-qcow2-linux-4f32456e5ed4852abc9b555c887dfb3481ea9cab.zip
ALSA: hda - Fix proc output for ADC amp values of CX20549
The CX20549 has only one single input amp on it's input converter widget. Fix printing of values in the codec file in /proc/asound. Signed-off-by: Michael Karcher <kernel@mkarcher.dialup.fu-berlin.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 9a9f372e1be4..56b4f74c0b13 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -851,6 +851,9 @@ struct hda_codec {
unsigned int pin_amp_workaround:1; /* pin out-amp takes index
* (e.g. Conexant codecs)
*/
+ unsigned int single_adc_amp:1; /* adc in-amp takes no index
+ * (e.g. CX20549 codec)
+ */
unsigned int no_sticky_stream:1; /* no sticky-PCM stream assignment */
unsigned int pins_shutup:1; /* pins are shut up */
unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */