[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1342082208-14184-1-git-send-email-ldewangan@nvidia.com>
Date: Thu, 12 Jul 2012 14:06:48 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: <stern@...land.harvard.edu>, <gregkh@...uxfoundation.org>
CC: <linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-tegra@...r.kernel.org>, <swarren@...dia.com>,
<vbyravarasu@...dia.com>, Laxman Dewangan <ldewangan@...dia.com>
Subject: [PATCH] usb: host: tegra: pass correct pointer in ehci_setup()
The ehci_setup() require the pointer of usb_hcd.
Passing the correct pointer in place of ehci_hcd
pointer.
This is side effetct of change:
commit 1a49e2ac9651df7349867a5cf44e2c83de1046af
Author: Alan Stern <stern@...land.harvard.edu>
EHCI: centralize controller initialization
Signed-off-by: Laxman Dewangan <ldewangan@...dia.com>
---
drivers/usb/host/ehci-tegra.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index 9e44b1f..d2a7c95 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -285,7 +285,7 @@ static int tegra_ehci_setup(struct usb_hcd *hcd)
/* switch to host mode */
hcd->has_tt = 1;
- retval = ehci_setup(ehci);
+ retval = ehci_setup(hcd);
if (retval)
return retval;
--
1.7.1.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists