summaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson64/common/cs5536/cs5536_ohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson64/common/cs5536/cs5536_ohci.c')
-rw-r--r--arch/mips/loongson64/common/cs5536/cs5536_ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson64/common/cs5536/cs5536_ohci.c b/arch/mips/loongson64/common/cs5536/cs5536_ohci.c
index f7c905e50dc4..92dc6bafc127 100644
--- a/arch/mips/loongson64/common/cs5536/cs5536_ohci.c
+++ b/arch/mips/loongson64/common/cs5536/cs5536_ohci.c
@@ -138,7 +138,7 @@ u32 pci_ohci_read_reg(int reg)
break;
case PCI_OHCI_INT_REG:
_rdmsr(DIVIL_MSR_REG(PIC_YSEL_LOW), &hi, &lo);
- if ((lo & 0x00000f00) == CS5536_USB_INTR)
+ if (((lo >> PIC_YSEL_LOW_USB_SHIFT) & 0xf) == CS5536_USB_INTR)
conf_data = 1;
break;
default:
OpenPOWER on IntegriCloud