From mboxrd@z Thu Jan 1 00:00:00 1970 From: Venu Byravarasu Subject: Re: [PATCH] usb: host: tegra: pass correct pointer in ehci_setup() Date: Thu, 12 Jul 2012 14:42:08 +0530 Message-ID: <4FFE94E8.8000909@nvidia.com> References: <1342082208-14184-1-git-send-email-ldewangan@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1342082208-14184-1-git-send-email-ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laxman Dewangan Cc: "stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz@public.gmane.org" , "gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org" , "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Stephen Warren List-Id: linux-tegra@vger.kernel.org Acked-by: Venu Byravarasu Tested-by: Venu Byravarasu On Thursday 12 July 2012 02:06 PM, Laxman Dewangan wrote: > 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 > > EHCI: centralize controller initialization > > > Signed-off-by: Laxman Dewangan > --- > 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; >