]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Re-implementation of VIA Independent-HP sharing with side stream
authorTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2011 15:24:47 +0000 (17:24 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Jun 2011 15:24:47 +0000 (17:24 +0200)
commit0cb352b571a93cf37a910de990e94cdfd3aa3654
tree046b47fd2e011a30f5cd4a992fadd2376e074545
parentafdac7a3cfc323b5fd8d02462339f0c00e739822
ALSA: hda - Re-implementation of VIA Independent-HP sharing with side stream

This patch adds the re-implementation of Independent-HP mode in the
case where the DAC is shared between HP and side-channel streams.
Now the driver tries to parse the output-path using the pre-parsed
side-channel DAC for the independent HP output, too.

When a playback PCM stream is opened with this shared mode, the
Independent-HP mixer switch can't be changed for avoiding the conflict,
thus it returns -EBUSY error.

One remaining unintuitive issue is that the DAC volume is still
controlled as "Side" volume although it's shared by both independent-HP
and side streams.

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