From: Alexander Holler <holler@ahsoftware.de> Date: Thu, 27 Jan 2011 21:50:07 +0000 (+0100) Subject: USB: Fix device stati for removable and powerctrl (typo) X-Git-Tag: v2025.01-rc5-pxa1908~19704^2~1 X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=cb44091fdfa1170f9c0a0a1d3396d6472fbf8911;p=u-boot.git 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> --- diff --git a/common/usb.c b/common/usb.c index 10e23de6a4..aa28de028f 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);