summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_proc.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-12-11 05:28:33 +0100
committerTakashi Iwai <tiwai@suse.de>2009-12-11 07:55:55 +0100
commitb923528ed29dc2d12832f76b1b9e05848d9de853 (patch)
tree5a7510600e6042509024d1431ff6de1a1e99cddc /sound/pci/hda/hda_proc.c
parentALSA: hda - Fix LED GPIO setup for HP laptops with IDT codecs (diff)
downloadlinux-b923528ed29dc2d12832f76b1b9e05848d9de853.tar.xz
linux-b923528ed29dc2d12832f76b1b9e05848d9de853.zip
ALSA: hda - show HBR(High Bit Rate) pin cap in procfs
Note that the HBR capability only applies to HDMI pin. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_proc.c')
-rw-r--r--sound/pci/hda/hda_proc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c
index 09476fc1ab64..8d381c891001 100644
--- a/sound/pci/hda/hda_proc.c
+++ b/sound/pci/hda/hda_proc.c
@@ -240,8 +240,11 @@ static void print_pin_caps(struct snd_info_buffer *buffer,
/* Realtek uses this bit as a different meaning */
if ((codec->vendor_id >> 16) == 0x10ec)
snd_iprintf(buffer, " R/L");
- else
+ else {
+ if (caps & AC_PINCAP_HBR)
+ snd_iprintf(buffer, " HBR");
snd_iprintf(buffer, " HDMI");
+ }
}
if (caps & AC_PINCAP_TRIG_REQ)
snd_iprintf(buffer, " Trigger");