aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/oxygen/oxygen.c')
-rw-r--r--sound/pci/oxygen/oxygen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/oxygen/oxygen.c b/sound/pci/oxygen/oxygen.c
index ba7a2a83f339..ecc0e6f9d277 100644
--- a/sound/pci/oxygen/oxygen.c
+++ b/sound/pci/oxygen/oxygen.c
@@ -19,10 +19,10 @@
19 19
20/* 20/*
21 * SPI 0 -> 1st AK4396 (front) 21 * SPI 0 -> 1st AK4396 (front)
22 * SPI 1 -> 2nd AK4396 (side) 22 * SPI 1 -> 2nd AK4396 (surround)
23 * SPI 2 -> 3rd AK4396 (center/LFE) 23 * SPI 2 -> 3rd AK4396 (center/LFE)
24 * SPI 3 -> WM8785 24 * SPI 3 -> WM8785
25 * SPI 4 -> 4th AK4396 (rear) 25 * SPI 4 -> 4th AK4396 (back)
26 * 26 *
27 * GPIO 0 -> DFS0 of AK5385 27 * GPIO 0 -> DFS0 of AK5385
28 * GPIO 1 -> DFS1 of AK5385 28 * GPIO 1 -> DFS1 of AK5385
@@ -99,7 +99,7 @@ static void ak4396_write(struct oxygen *chip, unsigned int codec,
99{ 99{
100 /* maps ALSA channel pair number to SPI output */ 100 /* maps ALSA channel pair number to SPI output */
101 static const u8 codec_spi_map[4] = { 101 static const u8 codec_spi_map[4] = {
102 0, 4, 2, 1 102 0, 1, 2, 4
103 }; 103 };
104 oxygen_write_spi(chip, OXYGEN_SPI_TRIGGER_WRITE | 104 oxygen_write_spi(chip, OXYGEN_SPI_TRIGGER_WRITE |
105 OXYGEN_SPI_DATA_LENGTH_2 | 105 OXYGEN_SPI_DATA_LENGTH_2 |