]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/pci/oxygen/xonar_dg.c
ALSA: oxygen: Xonar DG: fix CS4245 register writes
[mv-sheeva.git] / sound / pci / oxygen / xonar_dg.c
index e4de0b8d087a000cb67b735cf9a5c2b603afba70..e1fa602eba795c5db577bc18f4cc00e5680262d0 100644 (file)
@@ -75,7 +75,7 @@ static void cs4245_write(struct oxygen *chip, unsigned int reg, u8 value)
                         OXYGEN_SPI_CEN_LATCH_CLOCK_HI,
                         CS4245_SPI_ADDRESS |
                         CS4245_SPI_WRITE |
-                        (value << 8) | reg);
+                        (reg << 8) | value);
        data->cs4245_regs[reg] = value;
 }