ALSA: oxygen: modify adjust_dg_dac_routing function
authorRoman Volkov <v1ron@mail.ru>
Fri, 24 Jan 2014 12:18:11 +0000 (16:18 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Mar 2014 04:44:20 +0000 (21:44 -0700)
commite309995b4f9b6c437e80bf168c2638bfbbcd3aa6
tree6e98cd4ea29a570335438c07a6f5dd895e7f0e45
parentef3d4124c55daf6d0c83da92577a5a8d9eb55b4f
ALSA: oxygen: modify adjust_dg_dac_routing function

commit 1f91ecc14deea9461aca93273d78871ec4d98fcd upstream.

When selecting the audio output destinations (headphones,
FP headphones, multichannel output), the channel routing
should be changed depending on what destination selected.
Also unnecessary I2S channels are digitally muted. This
function called when the user selects the destination
in the ALSA mixer.

Signed-off-by: Roman Volkov <v1ron@mail.ru>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/oxygen/xonar_dg.c