diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-04-07 04:23:37 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 06:00:31 -0400 |
commit | 10e6d5f9b6edd4a12d678716d7fdb94278a83227 (patch) | |
tree | 710a7e4d1ed50ec72f441b5e809132c40e77f7ca /sound/pci/oxygen/oxygen.h | |
parent | 7a4356747298d1c899a12a25260d5ff1b4feeb5e (diff) |
[ALSA] oxygen: add I2C support
Add a function to write I2C registers.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/oxygen/oxygen.h')
-rw-r--r-- | sound/pci/oxygen/oxygen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h index 2f25c8dbaf85..d53c18c6fcd8 100644 --- a/sound/pci/oxygen/oxygen.h +++ b/sound/pci/oxygen/oxygen.h | |||
@@ -146,6 +146,7 @@ void oxygen_write_ac97_masked(struct oxygen *chip, unsigned int codec, | |||
146 | unsigned int index, u16 data, u16 mask); | 146 | unsigned int index, u16 data, u16 mask); |
147 | 147 | ||
148 | void oxygen_write_spi(struct oxygen *chip, u8 control, unsigned int data); | 148 | void oxygen_write_spi(struct oxygen *chip, u8 control, unsigned int data); |
149 | void oxygen_write_i2c(struct oxygen *chip, u8 device, u8 map, u8 data); | ||
149 | 150 | ||
150 | static inline void oxygen_set_bits8(struct oxygen *chip, | 151 | static inline void oxygen_set_bits8(struct oxygen *chip, |
151 | unsigned int reg, u8 value) | 152 | unsigned int reg, u8 value) |