[mips] remove dublicate values in enable mask in nlm_usb_intr_en
PR: 230572 Submitted by: David Binderman <dcb314@hotmail.com> MFC after: 1 week
This commit is contained in:
parent
24df7b15fa
commit
f848b45958
@ -52,8 +52,7 @@ nlm_usb_intr_en(int node, int port)
|
|||||||
port_addr = nlm_get_usb_regbase(node, port);
|
port_addr = nlm_get_usb_regbase(node, port);
|
||||||
val = nlm_read_usb_reg(port_addr, USB_INT_EN);
|
val = nlm_read_usb_reg(port_addr, USB_INT_EN);
|
||||||
val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN |
|
val = USB_CTRL_INTERRUPT_EN | USB_OHCI_INTERRUPT_EN |
|
||||||
USB_OHCI_INTERRUPT1_EN | USB_CTRL_INTERRUPT_EN |
|
USB_OHCI_INTERRUPT1_EN | USB_OHCI_INTERRUPT2_EN;
|
||||||
USB_OHCI_INTERRUPT_EN | USB_OHCI_INTERRUPT2_EN;
|
|
||||||
nlm_write_usb_reg(port_addr, USB_INT_EN, val);
|
nlm_write_usb_reg(port_addr, USB_INT_EN, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user