Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67890
b: refs/heads/master
c: 1d3ee41
h: refs/heads/master
v: v3
  • Loading branch information
Auke Kok authored and Greg Kroah-Hartman committed Oct 12, 2007
1 parent ef2f49a commit 7b74cea
Show file tree
Hide file tree
Showing 2 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: e6d42f0e962390e956545aa282efb05a9d6a41d1
refs/heads/master: 1d3ee41e9549609a6151216a0bcb06b758a64b6b
6 changes: 2 additions & 4 deletions trunk/drivers/usb/gadget/amd5536udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3285,14 +3285,12 @@ static int udc_pci_probe(

pci_set_drvdata(pdev, dev);

/* chip revision */
dev->chiprev = 0;
/* chip revision for Hs AMD5536 */
dev->chiprev = pdev->revision;

pci_set_master(pdev);
pci_set_mwi(pdev);

/* chip rev for Hs AMD5536 */
pci_read_config_byte(pdev, PCI_REVISION_ID, (u8 *) &dev->chiprev);
/* init dma pools */
if (use_dma) {
retval = init_dma_pools(dev);
Expand Down

0 comments on commit 7b74cea

Please sign in to comment.