ALSA: hda - Implement independent HP control
authorTakashi Iwai <tiwai@suse.de>
Fri, 21 Dec 2012 13:09:42 +0000 (14:09 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:42:56 +0000 (08:42 +0100)
commit38cf6f1a41e40a33d80924554b356fcd5b5d2751
tree7c027e9fc6a552bea88e1738c2cbd3a153ed609a
parentb3a8c74522ae7c992cd916c3bd4b685d742c0e2a
ALSA: hda - Implement independent HP control

Similar like the implementation in patch_analog.c and patch_via.c,
the generic parser can provide the independent HP PCM stream now.
It's enabled when spec->indep_hp is set by the caller while parsing.

Currently no dynamic PCM switching as in patch_via.c is implemented
yet.  The control returns -EBUSY when the value is changed during PCM
operations.

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