ALSA: virtuoso: use headphone gain setting only on front DAC
authorClemens Ladisch <clemens@ladisch.de>
Mon, 10 Jan 2011 15:11:32 +0000 (16:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 10 Jan 2011 15:46:28 +0000 (16:46 +0100)
commitbc29e262c3062682c6099bd455ae8544916f723e
treecd56d7c8b3bec9e52c8b30af1357c943e850444d
parentc97e2dc48457642e2f1c6183b986549b7fa0113a
ALSA: virtuoso: use headphone gain setting only on front DAC

Do not apply the headphone gain offset to any but the front DAC.  These
DACs would not be used in headphone mode, so this saves a few register
writes.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/oxygen/xonar_pcm179x.c