提交 f95a4b3a 编写于 作者: T Tom Rini
...@@ -156,7 +156,7 @@ int ehci_hcd_stop(int index) ...@@ -156,7 +156,7 @@ int ehci_hcd_stop(int index)
tmp = ehci_readl(&hcor->or_usbcmd); tmp = ehci_readl(&hcor->or_usbcmd);
tmp &= ~CMD_RUN; tmp &= ~CMD_RUN;
ehci_writel(tmp, &hcor->or_usbcmd); ehci_writel(&hcor->or_usbcmd, tmp);
/* Disable the PHY */ /* Disable the PHY */
tmp = USBPHY_PWD_RXPWDRX | USBPHY_PWD_RXPWDDIFF | tmp = USBPHY_PWD_RXPWDRX | USBPHY_PWD_RXPWDDIFF |
......
...@@ -557,7 +557,7 @@ int xhci_bulk_tx(struct usb_device *udev, unsigned long pipe, ...@@ -557,7 +557,7 @@ int xhci_bulk_tx(struct usb_device *udev, unsigned long pipe,
{ {
int num_trbs = 0; int num_trbs = 0;
struct xhci_generic_trb *start_trb; struct xhci_generic_trb *start_trb;
bool first_trb = 0; bool first_trb = false;
int start_cycle; int start_cycle;
u32 field = 0; u32 field = 0;
u32 length_field = 0; u32 length_field = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册