diff options
author | David Brownell <david-b@pacbell.net> | 2005-04-19 02:39:23 +0200 |
---|---|---|
committer | Greg K-H <gregkh@suse.de> | 2005-04-19 02:39:23 +0200 |
commit | 9a5d3e98dd31abcecbf4533b81866d440cc0f106 (patch) | |
tree | 8638550bd50ff0fdc3b097d0643b5efed3516633 /drivers/usb/host/ehci-dbg.c | |
parent | [PATCH] usb suspend updates (interface suspend) (diff) | |
download | linux-9a5d3e98dd31abcecbf4533b81866d440cc0f106.tar.xz linux-9a5d3e98dd31abcecbf4533b81866d440cc0f106.zip |
[PATCH] USB: hcd suspend uses pm_message_t
This patch includes minor "sparse -Wbitwise" updates for the PCI based
HCDs. Almost all of them involve just changing the second parameter of the
suspend() method to a pm_message_t ... the others relate to how the EHCI
code walks in-memory data structures. (There's a minor bug fixed there too
... affecting the big-endian sysfs async schedule dump.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Index: gregkh-2.6/drivers/usb/core/hcd.h
===================================================================
Diffstat (limited to 'drivers/usb/host/ehci-dbg.c')
-rw-r--r-- | drivers/usb/host/ehci-dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-dbg.c b/drivers/usb/host/ehci-dbg.c index 495e2a3ef6f1..9b347d765383 100644 --- a/drivers/usb/host/ehci-dbg.c +++ b/drivers/usb/host/ehci-dbg.c @@ -394,7 +394,7 @@ static void qh_lines ( mark = ' '; if (hw_curr == td->qtd_dma) mark = '*'; - else if (qh->hw_qtd_next == td->qtd_dma) + else if (qh->hw_qtd_next == cpu_to_le32(td->qtd_dma)) mark = '+'; else if (QTD_LENGTH (scratch)) { if (td->hw_alt_next == ehci->async->hw_alt_next) |