Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235399
b: refs/heads/master
c: fa417c3
h: refs/heads/master
i:
  235397: b2ecd8f
  235395: 3fef05d
  235391: 9f50e03
v: v3
  • Loading branch information
Sergei Shtylyov authored and Greg Kroah-Hartman committed Mar 7, 2011
1 parent 152d59a commit 8049b76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: dfb2130c453c2c6d36b5e0f39eca289cbdbb631d
refs/heads/master: fa417c369b48a8f7acaf9aba1ff94b0969b0cb7e
4 changes: 2 additions & 2 deletions trunk/drivers/usb/host/ohci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static int ohci_quirk_amd700(struct usb_hcd *hcd)
{
struct ohci_hcd *ohci = hcd_to_ohci(hcd);
struct pci_dev *amd_smbus_dev;
u8 rev = 0;
u8 rev;

if (usb_amd_find_chipset_info())
ohci->flags |= OHCI_QUIRK_AMD_PLL;
Expand All @@ -161,7 +161,7 @@ static int ohci_quirk_amd700(struct usb_hcd *hcd)
if (!amd_smbus_dev)
return 0;

pci_read_config_byte(amd_smbus_dev, PCI_REVISION_ID, &rev);
rev = amd_smbus_dev->revision;

/* SB800 needs pre-fetch fix */
if ((rev >= 0x40) && (rev <= 0x4f)) {
Expand Down

0 comments on commit 8049b76

Please sign in to comment.