diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-01-18 03:17:53 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:04 -0500 |
commit | c2353a0826d2b8fe9f5c6a6aca99149e4ee7b196 (patch) | |
tree | bd15b1625da94b87a6f0602b47a35c09385f56ba /sound/pci/oxygen/virtuoso.c | |
parent | 4052ce4cbf48531bdd8ff43b673ccb5c005dec79 (diff) |
[ALSA] oxygen: add register definitions
Add more symbols for registers and register fields.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/virtuoso.c')
-rw-r--r-- | sound/pci/oxygen/virtuoso.c | 5 |
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 | ||