summaryrefslogtreecommitdiff
path: root/arch/mips/loongson/common/cs5536/cs5536_ohci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/loongson/common/cs5536/cs5536_ohci.c')
-rw-r--r--arch/mips/loongson/common/cs5536/cs5536_ohci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/loongson/common/cs5536/cs5536_ohci.c b/arch/mips/loongson/common/cs5536/cs5536_ohci.c
index db5900aadd6b..bdedf512baf7 100644
--- a/arch/mips/loongson/common/cs5536/cs5536_ohci.c
+++ b/arch/mips/loongson/common/cs5536/cs5536_ohci.c
@@ -49,6 +49,8 @@ void pci_ohci_write_reg(int reg, u32 value)
lo |= SOFT_BAR_OHCI_FLAG;
_wrmsr(GLCP_MSR_REG(GLCP_SOFT_COM), hi, lo);
} else if ((value & 0x01) == 0x00) {
+ _rdmsr(USB_MSR_REG(USB_OHCI), &hi, &lo);
+ lo = value;
_wrmsr(USB_MSR_REG(USB_OHCI), hi, lo);
value &= 0xfffffff0;