Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179490
b: refs/heads/master
c: b619f9f
h: refs/heads/master
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 062cf71 commit f7ee535
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 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: b2d8f5eafd31cd7bc722dc93057d8c5fd5b688ab
refs/heads/master: b619f9f8a111be3f6ec8ec2671eb93c66a673b90
15 changes: 1 addition & 14 deletions trunk/drivers/media/dvb/mantis/mantis_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,20 +183,7 @@ static int __devinit mantis_pci_probe(struct pci_dev *pdev,
mantis->subsystem_device = pdev->subsystem_device;
init_waitqueue_head(&mantis->i2c_wq);

// CAM bypass
//mmwrite(mmread(MANTIS_INT_MASK) | MANTIS_INT_IRQ1, MANTIS_INT_MASK);
dprintk(verbose, MANTIS_INFO, 0, "\ngpif status: %04x irqcfg: %04x\n", mmread(0x9c), mmread(0x98));
if ((mmread(0x9c) & 0x200) != 0) { //CAM inserted
msleep_interruptible(1);
if ((mmread(0x9c) & 0x200) != 0)
mmwrite(((mmread(0x98) | 0x01) & ~0x02), 0x98);
else
mmwrite(((mmread(0x98) | 0x02) & ~0x01), 0x98);

} else {
mmwrite(((mmread(0x98) | 0x02) & ~0x01), 0x98);
}
mantis_set_direction(mantis, 0);
mantis_set_direction(mantis, 0); /* CAM bypass */

if (!latency)
pci_write_config_byte(pdev, PCI_LATENCY_TIMER, 32);
Expand Down

0 comments on commit f7ee535

Please sign in to comment.