]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac6f252218404f15842b56a63eef95a2fe481a00
tree7c027e9fc6a552bea88e1738c2cbd3a153ed609a
parentefa972fe158ec0780b248c0ad60c33eb6d3273cb
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