summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2010-03-11 16:01:55 +0800
committerWu Zhangjin <wuzhangjin@gmail.com>2010-03-11 19:54:38 +0800
commit324b875f9006d755ffdb79117ab42d221fb2e0ef (patch)
tree33d4aaf02885004d0229e071807419d81309bf4c
parent142f50c7dad7c5d4b48f7849e81e027c52d18de3 (diff)
downloadlwn-324b875f9006d755ffdb79117ab42d221fb2e0ef.tar.gz
lwn-324b875f9006d755ffdb79117ab42d221fb2e0ef.zip
Loongson: Lemote-2F: USB: Not Emulate Non-Posted Writes
Without this patch, when copying data between the USB storage devices and the hard disk, the USB device will disconnect regularly. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
-rw-r--r--arch/mips/pci/fixup-lemote2f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pci/fixup-lemote2f.c b/arch/mips/pci/fixup-lemote2f.c
index caf2edeb02f0..4b9768d5d729 100644
--- a/arch/mips/pci/fixup-lemote2f.c
+++ b/arch/mips/pci/fixup-lemote2f.c
@@ -131,7 +131,7 @@ static void __init loongson_cs5536_ehci_fixup(struct pci_dev *pdev)
/* Serial short detect enable */
_rdmsr(USB_MSR_REG(USB_CONFIG), &hi, &lo);
- _wrmsr(USB_MSR_REG(USB_CONFIG), (1 << 1) | (1 << 2) | (1 << 3), lo);
+ _wrmsr(USB_MSR_REG(USB_CONFIG), (1 << 1) | (1 << 3), lo);
/* setting the USB2.0 micro frame length */
pci_write_config_dword(pdev, PCI_EHCI_FLADJ_REG, 0x2000);