ALSA: hda - Add more hint options for IDT/Sigmatel codecs
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Mar 2009 13:38:35 +0000 (14:38 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Mar 2009 16:30:00 +0000 (17:30 +0100)
commit6565e4faca257fc51a4c55199d72e2701ba7e819
tree580d4c74537ccc6ca794e508585087ff09c6029f
parentd78d7a90adf793943cc29a414b6f4364a700aad5
ALSA: hda - Add more hint options for IDT/Sigmatel codecs

Allow more options to be set/reset via hwdep hint entry.
hp_detect, gpio_mask, gpio_dir, gpio_data, eapd_mask and eapd_switch
can be checked.

For example, to disable hp_detect on the fly,
# echo "hp_detect=0" > /sys/class/sound/hwC0D0/hints

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