diff options
author | Tobias Klauser <tklauser@nuerscht.ch> | 2005-12-01 05:14:00 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:30:12 -0500 |
commit | 58da3a23fe12b1c4730cb85af203950c7707220c (patch) | |
tree | a7c0bf00eb3e63cf81226174013f5715250bb15d /sound/pci/au88x0/au88x0.h | |
parent | 59d48582508c6e3ed6f60bdd7d13e3e2893416b4 (diff) |
[ALSA] au88x0: Remove unneeded call to pci_dma_supported()
Modules: au88x0 driver
pci_dma_supported() is called right before pci_set_dma_mask() which already
calls pci_dma_supported(). The attached patch removes the unneeded call to
pci_dma_supported()
Additionally the custom VORTEX_DMA_MASK macro is replaced by DMA_32BIT_MASK
from linux/dma-mapping.h
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0/au88x0.h')
-rw-r--r-- | sound/pci/au88x0/au88x0.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/au88x0/au88x0.h b/sound/pci/au88x0/au88x0.h index 745f995a20dd..c2ad2674bea7 100644 --- a/sound/pci/au88x0/au88x0.h +++ b/sound/pci/au88x0/au88x0.h | |||
@@ -39,8 +39,6 @@ | |||
39 | #include "au88x0_wt.h" | 39 | #include "au88x0_wt.h" |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #define VORTEX_DMA_MASK 0xffffffff | ||
43 | |||
44 | #define hwread(x,y) readl((x)+((y)>>2)) | 42 | #define hwread(x,y) readl((x)+((y)>>2)) |
45 | #define hwwrite(x,y,z) writel((z),(x)+((y)>>2)) | 43 | #define hwwrite(x,y,z) writel((z),(x)+((y)>>2)) |
46 | 44 | ||