Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ehci-msm : use ehci_setup

Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Tested-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Matthieu CASTET and committed by
Greg Kroah-Hartman
2cb30bb1 e931830b

+1 -19
+1 -19
drivers/usb/host/ehci-msm.c
··· 40 40 int retval; 41 41 42 42 ehci->caps = USB_CAPLENGTH; 43 - ehci->regs = USB_CAPLENGTH + 44 - HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); 45 - dbg_hcs_params(ehci, "reset"); 46 - dbg_hcc_params(ehci, "reset"); 47 - 48 - /* cache the data to minimize the chip reads*/ 49 - ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); 50 - 51 43 hcd->has_tt = 1; 52 - ehci->sbrn = HCD_USB2; 53 44 54 - retval = ehci_halt(ehci); 55 - if (retval) 56 - return retval; 57 - 58 - /* data structure init */ 59 - retval = ehci_init(hcd); 60 - if (retval) 61 - return retval; 62 - 63 - retval = ehci_reset(ehci); 45 + retval = ehci_setup(hcd); 64 46 if (retval) 65 47 return retval; 66 48