diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2008-04-07 10:23:37 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-04-24 12:00:31 +0200 |
commit | 10e6d5f9b6edd4a12d678716d7fdb94278a83227 (patch) | |
tree | 710a7e4d1ed50ec72f441b5e809132c40e77f7ca /sound/pci/oxygen/oxygen.h | |
parent | [ALSA] aw2: remove duplicate MODULE_LICENSE (diff) | |
download | linux-10e6d5f9b6edd4a12d678716d7fdb94278a83227.tar.xz linux-10e6d5f9b6edd4a12d678716d7fdb94278a83227.zip |
[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, unsigned int index, u16 data, u16 mask); void oxygen_write_spi(struct oxygen *chip, u8 control, unsigned int data); +void oxygen_write_i2c(struct oxygen *chip, u8 device, u8 map, u8 data); static inline void oxygen_set_bits8(struct oxygen *chip, unsigned int reg, u8 value) |