diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-11-17 04:15:37 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:16:29 -0500 |
commit | 3e8731740e17f01ec1ecce556ccdc4c42279ce1b (patch) | |
tree | dada863f577ad8c00b152a9538a4cde36aa240d6 /sound/pci/cs5535audio/cs5535audio.h | |
parent | 9b4ffa48ae855c8657a36014c5b0243ff69f4722 (diff) |
[ALSA] Minor clean up and fixes for CS5535 audio driver
Modules: Documentation,CS5535 driver
Minor clean up and fixes for CS5535 audio driver.
Added an entry in ALSA-Configuration.txt, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs5535audio/cs5535audio.h')
-rw-r--r-- | sound/pci/cs5535audio/cs5535audio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/pci/cs5535audio/cs5535audio.h b/sound/pci/cs5535audio/cs5535audio.h index e28177fb0991..774185e026d4 100644 --- a/sound/pci/cs5535audio/cs5535audio.h +++ b/sound/pci/cs5535audio/cs5535audio.h | |||
@@ -1,11 +1,11 @@ | |||
1 | #ifndef __SOUND_CS5535AUDIO_H | 1 | #ifndef __SOUND_CS5535AUDIO_H |
2 | #define __SOUND_CS5535AUDIO_H | 2 | #define __SOUND_CS5535AUDIO_H |
3 | 3 | ||
4 | #define cs_writel(cs5535au, reg, val) outl(val, (int) cs5535au->port + reg) | 4 | #define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg) |
5 | #define cs_writeb(cs5535au, reg, val) outb(val, (int) cs5535au->port + reg) | 5 | #define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg) |
6 | #define cs_readl(cs5535au, reg) inl((unsigned short) (cs5535au->port + reg)) | 6 | #define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg) |
7 | #define cs_readw(cs5535au, reg) inw((unsigned short) (cs5535au->port + reg)) | 7 | #define cs_readw(cs5535au, reg) inw((cs5535au)->port + reg) |
8 | #define cs_readb(cs5535au, reg) inb((unsigned short) (cs5535au->port + reg)) | 8 | #define cs_readb(cs5535au, reg) inb((cs5535au)->port + reg) |
9 | 9 | ||
10 | #define CS5535AUDIO_MAX_DESCRIPTORS 128 | 10 | #define CS5535AUDIO_MAX_DESCRIPTORS 128 |
11 | 11 | ||