From patchwork Mon Jun 27 20:41:04 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" X-Patchwork-Id: 102279 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 13DF6B6F5D for ; Tue, 28 Jun 2011 07:14:06 +1000 (EST) Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QbJ7v-0003kK-SJ; Mon, 27 Jun 2011 21:13:52 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QbJ7v-0002Vo-JC; Mon, 27 Jun 2011 21:13:51 +0000 Received: from lebrac.rtp-net.org ([88.191.135.105]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QbIiG-00066k-QB for linux-arm-kernel@lists.infradead.org; Mon, 27 Jun 2011 20:47:22 +0000 Received: by lebrac.rtp-net.org (Postfix, from userid 1000) id 9819F29262; Mon, 27 Jun 2011 22:46:54 +0200 (CEST) Message-Id: <20110627204115.709396491@rtp-net.org> User-Agent: quilt/0.48-1 Date: Mon, 27 Jun 2011 22:41:04 +0200 From: Arnaud Patard (Rtp) To: linux-arm-kernel@lists.infradead.org Subject: [patch 1/3] efikasb/mx: fix usbh1 initialisation Content-Disposition: inline; filename=usbh1_fix_init_arg.patch X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110627_164721_100912_A5AC6D02 X-CRM114-Status: UNSURE ( 8.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain Cc: s.hauer@pengutronix.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org mx51_initialize_usb_hw() support introduced a small error. The usbh1 has pdev->id equal to 1 not 0, so use pdev->id to make things less error-prone and to fix that. Signed-off-by: Arnaud Patard Index: linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c =================================================================== --- linux-2.6-submit.orig/arch/arm/mach-mx5/mx51_efika.c 2011-03-14 01:32:02.000000000 +0100 +++ linux-2.6-submit/arch/arm/mach-mx5/mx51_efika.c 2011-03-14 01:35:36.000000000 +0100 @@ -215,7 +215,7 @@ static int initialize_usbh1_port(struct mdelay(10); - return mx51_initialize_usb_hw(0, MXC_EHCI_ITC_NO_THRESHOLD); + return mx51_initialize_usb_hw(pdev->id, MXC_EHCI_ITC_NO_THRESHOLD); } static struct mxc_usbh_platform_data usbh1_config = {