Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185261
b: refs/heads/master
c: 8ca5bfa
h: refs/heads/master
i:
  185259: 483ccd0
v: v3
  • Loading branch information
Michael Hennerich authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent fb8d971 commit 14e4bb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6ebb7d1b4b98162e332ff43a8739c2c1c690b140
refs/heads/master: 8ca5bfab154487fd75a946e6e95d3519eb74be6a
5 changes: 3 additions & 2 deletions trunk/drivers/usb/host/sl811-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#include <asm/irq.h>
#include <asm/system.h>
#include <asm/byteorder.h>
#include <asm/unaligned.h>

#include "../core/hcd.h"
#include "sl811.h"
Expand Down Expand Up @@ -1272,12 +1273,12 @@ sl811h_hub_control(
sl811h_hub_descriptor(sl811, (struct usb_hub_descriptor *) buf);
break;
case GetHubStatus:
*(__le32 *) buf = cpu_to_le32(0);
put_unaligned_le32(0, buf);
break;
case GetPortStatus:
if (wIndex != 1)
goto error;
*(__le32 *) buf = cpu_to_le32(sl811->port1);
put_unaligned_le32(sl811->port1, buf);

#ifndef VERBOSE
if (*(u16*)(buf+2)) /* only if wPortChange is interesting */
Expand Down

0 comments on commit 14e4bb2

Please sign in to comment.