summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAlexander Holler <holler@ahsoftware.de>2011-01-27 22:50:07 +0100
committerRemy Bohmer <linux@bohmer.net>2011-02-05 13:54:51 +0100
commitcb44091fdfa1170f9c0a0a1d3396d6472fbf8911 (patch)
tree076ac8d485382a1f5df27d365992c1938389adaf /common
parentf69b980d108b5f15ca7dd3f4284d5a66488c3625 (diff)
downloadu-boot-imx-cb44091fdfa1170f9c0a0a1d3396d6472fbf8911.zip
u-boot-imx-cb44091fdfa1170f9c0a0a1d3396d6472fbf8911.tar.gz
u-boot-imx-cb44091fdfa1170f9c0a0a1d3396d6472fbf8911.tar.bz2
USB: Fix device stati for removable and powerctrl (typo)
I currently don't know if the error could have other consequences than a wrong output when turning debug on. Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Diffstat (limited to 'common')
-rw-r--r--common/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb.c b/common/usb.c
index 10e23de..aa28de0 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -1220,7 +1220,7 @@ int usb_hub_configure(struct usb_device *dev)
hub->desc.DeviceRemovable[i] = descriptor->DeviceRemovable[i];
for (i = 0; i < ((hub->desc.bNbrPorts + 1 + 7)/8); i++)
- hub->desc.DeviceRemovable[i] = descriptor->PortPowerCtrlMask[i];
+ hub->desc.PortPowerCtrlMask[i] = descriptor->PortPowerCtrlMask[i];
dev->maxchild = descriptor->bNbrPorts;
USB_HUB_PRINTF("%d ports detected\n", dev->maxchild);