]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ALSA: oxygen: export oxygen_update_dac_routing symbol
authorRoman Volkov <v1ron@mail.ru>
Fri, 24 Jan 2014 12:18:05 +0000 (16:18 +0400)
committerClemens Ladisch <clemens@ladisch.de>
Wed, 29 Jan 2014 19:45:45 +0000 (20:45 +0100)
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>
sound/pci/oxygen/oxygen_mixer.c

index c0dbb52d45be5306799fb144e63e60d81348045e..5988e044c5194e0650ab78c2ec4cf1eff069f8d0 100644 (file)
@@ -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)
 {