Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65774
b: refs/heads/master
c: 19453bc
h: refs/heads/master
v: v3
  • Loading branch information
Trent Piepho authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent f633de3 commit a86d8f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 5a5b3b5d4fe3acdd9fb73162023422a9ee0e56f3
refs/heads/master: 19453bc18848e842a9743fcc40707e6fb19ae92b
10 changes: 5 additions & 5 deletions trunk/drivers/media/video/cx88/cx88-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/dma-mapping.h>
#include <linux/pci.h>

#include <asm/delay.h>
#include <sound/driver.h>
Expand Down Expand Up @@ -60,7 +61,6 @@ struct cx88_audio_dev {

/* pci i/o */
struct pci_dev *pci;
unsigned char pci_rev,pci_lat;

/* audio controls */
int irq;
Expand Down Expand Up @@ -667,6 +667,7 @@ static int __devinit snd_cx88_create(struct snd_card *card,
snd_cx88_card_t *chip;
struct cx88_core *core;
int err;
unsigned char pci_lat;

*rchip = NULL;

Expand Down Expand Up @@ -711,13 +712,12 @@ static int __devinit snd_cx88_create(struct snd_card *card,
}

/* print pci info */
pci_read_config_byte(pci, PCI_CLASS_REVISION, &chip->pci_rev);
pci_read_config_byte(pci, PCI_LATENCY_TIMER, &chip->pci_lat);
pci_read_config_byte(pci, PCI_LATENCY_TIMER, &pci_lat);

dprintk(1,"ALSA %s/%i: found at %s, rev: %d, irq: %d, "
"latency: %d, mmio: 0x%llx\n", core->name, devno,
pci_name(pci), chip->pci_rev, pci->irq,
chip->pci_lat,(unsigned long long)pci_resource_start(pci,0));
pci_name(pci), pci->revision, pci->irq,
pci_lat, (unsigned long long)pci_resource_start(pci,0));

chip->irq = pci->irq;
synchronize_irq(chip->irq);
Expand Down

0 comments on commit a86d8f9

Please sign in to comment.