: ALSA: oxygen: Move the Xonar DG mixer code away from this file and actual driver changes
Subsystems (2)
PATCH v2 3/4 : ALSA: oxygen: Move the Xonar DG mixer code away from this file and actual driver changes
Move the mixer controls and other system structures to a separate file. Also there are actual driver changes: Multichannel routing, CS4245 initialization, CS4245 SPI reading and writing, DAC/ADC settings, suspend/resume logic.
Signed-off-by Roman I. Volkov <[email protected]>
---
I can confirm, the driver also works with OXYGEN_FUNCTION_ENABLE_SPI_4_5 removed.
sound/pci/oxygen/oxygen_mixer.c +1 -0
@@ -190,6 +190,7 @@ void oxygen_update_dac_routing(struct oxif (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) {
sound/pci/oxygen/cs4245.h +3 -2
@@ -103,5 +103,6 @@#define CS4245_ADC_UNDRFL 0x01 -#define CS4245_SPI_ADDRESS (0x9e << 16) -#define CS4245_SPI_WRITE (0 << 16) +#define CS4245_SPI_ADDRESS 0x9e +#define CS4245_SPI_WRITE 0 +#define CS4245_SPI_READ 1
sound/pci/oxygen/xonar_dg.h +45 -0
51 lines not on this page · raw message
sound/pci/oxygen/xonar_dg.c +164 -495
754 lines not on this page · raw message
Signature · 7 lines
Kind regards, Roman Volkov, [email protected] _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel