diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2012-07-11 11:21:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-16 19:50:13 -0400 |
commit | 4c53de72109759c931744734ca75f9cecb3baef1 (patch) | |
tree | 0f464052baf26967994146bf3b3716b3dd6e6d35 /drivers/usb/host/ehci-hcd.c | |
parent | c83e1a9ff68a6535b81c40dc8fda99348ab480fb (diff) |
USB: EHCI: add symbolic constants for QHs
This patch (as1568) introduces symbolic constants for some of the
less-frequently used bitfields in the QH structure. This makes the
code a little easier to read and understand.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 1f8f792eec86..cdb15769468a 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -667,7 +667,7 @@ static int ehci_init(struct usb_hcd *hcd) | |||
667 | hw->hw_next = QH_NEXT(ehci, ehci->async->qh_dma); | 667 | hw->hw_next = QH_NEXT(ehci, ehci->async->qh_dma); |
668 | hw->hw_info1 = cpu_to_hc32(ehci, QH_HEAD); | 668 | hw->hw_info1 = cpu_to_hc32(ehci, QH_HEAD); |
669 | #if defined(CONFIG_PPC_PS3) | 669 | #if defined(CONFIG_PPC_PS3) |
670 | hw->hw_info1 |= cpu_to_hc32(ehci, (1 << 7)); /* I = 1 */ | 670 | hw->hw_info1 |= cpu_to_hc32(ehci, QH_INACTIVATE); |
671 | #endif | 671 | #endif |
672 | hw->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); | 672 | hw->hw_token = cpu_to_hc32(ehci, QTD_STS_HALT); |
673 | hw->hw_qtd_next = EHCI_LIST_END(ehci); | 673 | hw->hw_qtd_next = EHCI_LIST_END(ehci); |