Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16145
b: refs/heads/master
c: 58da3a2
h: refs/heads/master
i:
  16143: 500ad26
v: v3
  • Loading branch information
Tobias Klauser authored and Jaroslav Kysela committed Jan 3, 2006
1 parent 0e2d421 commit 5aa4eb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 59d48582508c6e3ed6f60bdd7d13e3e2893416b4
refs/heads/master: 58da3a23fe12b1c4730cb85af203950c7707220c
4 changes: 2 additions & 2 deletions trunk/sound/pci/au88x0/au88x0.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/moduleparam.h>
#include <linux/dma-mapping.h>
#include <sound/initval.h>

// module parameters (see "Module Parameters")
Expand Down Expand Up @@ -150,11 +151,10 @@ snd_vortex_create(struct snd_card *card, struct pci_dev *pci, vortex_t ** rchip)
// check PCI availability (DMA).
if ((err = pci_enable_device(pci)) < 0)
return err;
if (!pci_dma_supported(pci, VORTEX_DMA_MASK)) {
if (pci_set_dma_mask(pci, DMA_32BIT_MASK)) {
printk(KERN_ERR "error to set DMA mask\n");
return -ENXIO;
}
pci_set_dma_mask(pci, VORTEX_DMA_MASK);

chip = kzalloc(sizeof(*chip), GFP_KERNEL);
if (chip == NULL)
Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/pci/au88x0/au88x0.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
#include "au88x0_wt.h"
#endif

#define VORTEX_DMA_MASK 0xffffffff

#define hwread(x,y) readl((x)+((y)>>2))
#define hwwrite(x,y,z) writel((z),(x)+((y)>>2))

Expand Down

0 comments on commit 5aa4eb0

Please sign in to comment.