aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/virtuoso.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r--sound/pci/oxygen/virtuoso.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/oxygen/virtuoso.c b/sound/pci/oxygen/virtuoso.c
index 83c2c43e7b85..1a0367b7ae35 100644
--- a/sound/pci/oxygen/virtuoso.c
+++ b/sound/pci/oxygen/virtuoso.c
@@ -80,10 +80,11 @@ static void pcm1796_write(struct oxygen *chip, unsigned int codec,
80 static const u8 codec_map[4] = { 80 static const u8 codec_map[4] = {
81 0, 1, 2, 4 81 0, 1, 2, 4
82 }; 82 };
83 oxygen_write_spi(chip, OXYGEN_SPI_TRIGGER_WRITE | 83 oxygen_write_spi(chip, OXYGEN_SPI_TRIGGER |
84 OXYGEN_SPI_DATA_LENGTH_2 | 84 OXYGEN_SPI_DATA_LENGTH_2 |
85 OXYGEN_SPI_CLOCK_160 |
85 (codec_map[codec] << OXYGEN_SPI_CODEC_SHIFT) | 86 (codec_map[codec] << OXYGEN_SPI_CODEC_SHIFT) |
86 OXYGEN_SPI_MAGIC, 87 OXYGEN_SPI_CEN_LATCH_CLOCK_HI,
87 (reg << 8) | value); 88 (reg << 8) | value);
88} 89}
89 90