From patchwork Thu Jan 27 21:50:07 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Holler X-Patchwork-Id: 80745 X-Patchwork-Delegate: linux@bohmer.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 8F3B2B7121 for ; Fri, 28 Jan 2011 08:50:46 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DC79F280BC; Thu, 27 Jan 2011 22:50:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5AFX6veWoFrp; Thu, 27 Jan 2011 22:50:44 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 79C9E280C1; Thu, 27 Jan 2011 22:50:42 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2A754280C1 for ; Thu, 27 Jan 2011 22:50:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N1Qyzl4yZn08 for ; Thu, 27 Jan 2011 22:50:32 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail.ahsoftware.de (h1047321.serverkompetenz.net [85.214.67.163]) by theia.denx.de (Postfix) with ESMTPS id 17B0D280BC for ; Thu, 27 Jan 2011 22:50:30 +0100 (CET) Received: by mail.ahsoftware.de (Postfix, from userid 65534) id 5563059806C; Thu, 27 Jan 2011 22:50:30 +0100 (CET) Received: from eiche.ahsoftware (p57B205CB.dip0.t-ipconnect.de [87.178.5.203]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTP id 8784259806B; Thu, 27 Jan 2011 22:50:27 +0100 (CET) Received: from krabat.ahsoftware (krabat.ahsoftware [192.168.207.2]) by eiche.ahsoftware (Postfix) with ESMTP id D6EB83FC3B; Thu, 27 Jan 2011 22:50:24 +0100 (CET) From: Alexander Holler To: u-boot@lists.denx.de Date: Thu, 27 Jan 2011 22:50:07 +0100 Message-Id: <1296165007-19041-1-git-send-email-holler@ahsoftware.de> X-Mailer: git-send-email 1.7.3.4 Cc: linux.bohmer.net@mail.ahsoftware.de Subject: [U-Boot] [PATCH] USB: Fix device stati for removable and powerctrl (typo) X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 --- common/usb.c | 2 +- 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);