ALSA: hda - Disable SPDIF only when no pin config set for HP with AD1981
authorTakashi Iwai <tiwai@suse.de>
Fri, 10 Jun 2011 12:37:04 +0000 (14:37 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 10 Jun 2011 12:37:04 +0000 (14:37 +0200)
commit695cd4a34e4e02486e35d3c8e0ee85581a619357
tree4b8b825136c07ca2ad030065c84e84ff9c0d4935
parentb4a655e81d4d1d12abc92d29dfb7550e66a08799
ALSA: hda - Disable SPDIF only when no pin config set for HP with AD1981

Some HP laptops with AD1981 have SPDIF connections, but currently the
driver disables it statically.  Better to check the pin default config
to judge whether to enable or disable the SPDIF.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_analog.c