The ehci_setup() require the pointer of usb_hcd.
Passing the correct pointer in place of ehci_hcd
pointer.
This is side effect of change:
commit
1a49e2ac9651df7349867a5cf44e2c83de1046af
Author: Alan Stern <stern@rowland.harvard.edu>
EHCI: centralize controller initialization
[Although I checked for this specifically, obviously I missed some of
the calls. In addition to the mistake in ehci-tegra.c that Laxman
fixed here, the same thing needs to be fixed in ehci-orion.c and
ehci-xls.c. -- Alan Stern]
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
struct ehci_hcd *ehci = hcd_to_ehci(hcd);
int retval;
- retval = ehci_setup(ehci);
+ retval = ehci_setup(hcd);
if (retval)
return retval;
/* switch to host mode */
hcd->has_tt = 1;
- retval = ehci_setup(ehci);
+ retval = ehci_setup(hcd);
if (retval)
return retval;
ehci->caps = hcd->regs;
- return ehci_setup(ehci);
+ return ehci_setup(hcd);
}
int ehci_xls_probe_internal(const struct hc_driver *driver,