summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRoman Volkov <v1ron@mail.ru>2014-01-24 16:18:05 +0400
committerClemens Ladisch <clemens@ladisch.de>2014-01-29 20:45:45 +0100
commite9c2f10b432d96b1ba28bdc22bd984e7eacd2acf (patch)
treefcd8e165906eb9c44493f4bae2ec59205b4e26d9 /sound
parent079e0cb776cf52b09fae89551b8a7eaff5639166 (diff)
downloadop-kernel-dev-e9c2f10b432d96b1ba28bdc22bd984e7eacd2acf.zip
op-kernel-dev-e9c2f10b432d96b1ba28bdc22bd984e7eacd2acf.tar.gz
ALSA: oxygen: export oxygen_update_dac_routing symbol
When the user switches the output from stereo to multichannel or vice versa, the driver needs to update the channel routing. Instead of creating additional subroutines, I better export existing oxygen_update_dac_routing symbol from the oxygen mixer and call this function. It calls model.adjust_dac_routing() and my function does the work. Signed-off-by: Roman Volkov <v1ron@mail.ru> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/oxygen/oxygen_mixer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen_mixer.c b/sound/pci/oxygen/oxygen_mixer.c
index c0dbb52..5988e04 100644
--- a/sound/pci/oxygen/oxygen_mixer.c
+++ b/sound/pci/oxygen/oxygen_mixer.c
@@ -190,6 +190,7 @@ void oxygen_update_dac_routing(struct oxygen *chip)
if (chip->model.update_center_lfe_mix)
chip->model.update_center_lfe_mix(chip, chip->dac_routing > 2);
}
+EXPORT_SYMBOL(oxygen_update_dac_routing);
static int upmix_put(struct snd_kcontrol *ctl, struct snd_ctl_elem_value *value)
{
OpenPOWER on IntegriCloud