diff options
author | Clemens Ladisch | 2011-01-14 08:07:50 +0100 |
---|---|---|
committer | Takashi Iwai | 2011-01-14 09:50:01 +0100 |
commit | f8fe80e4383bf5f542beb80bf2abe9fc1505c366 (patch) | |
tree | 2b99252be1fb17e407600609aca488e6d15b9fb3 /sound/pci/oxygen | |
parent | 6db9a0f326d3144d790d9479309df480a8f562e4 (diff) |
ALSA: oxygen: Xonar DG: fix CS4245 register writes
Accidentally exchanging register addresses and register values leads to
many strange errors ...
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen')
-rw-r--r-- | sound/pci/oxygen/xonar_dg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/oxygen/xonar_dg.c b/sound/pci/oxygen/xonar_dg.c index e4de0b8d087a..e1fa602eba79 100644 --- a/sound/pci/oxygen/xonar_dg.c +++ b/sound/pci/oxygen/xonar_dg.c @@ -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; } |