diff options
author | Matthieu CASTET <castet.matthieu@free.fr> | 2011-07-02 20:59:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-07-08 14:51:29 -0700 |
commit | 2cb30bb11963907acdd69f77e77b3fabb16cfa62 (patch) | |
tree | 10a52321d34a7cd628eac7a43d5f0848b49f09fb /drivers/usb/host/ehci-msm.c | |
parent | e931830bb877e2aad9a1be83506f9bdb26c91e4e (diff) | |
download | linux-stable-2cb30bb11963907acdd69f77e77b3fabb16cfa62.tar.gz linux-stable-2cb30bb11963907acdd69f77e77b3fabb16cfa62.tar.bz2 linux-stable-2cb30bb11963907acdd69f77e77b3fabb16cfa62.zip |
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>
Diffstat (limited to 'drivers/usb/host/ehci-msm.c')
-rw-r--r-- | drivers/usb/host/ehci-msm.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c index b5a0bf649c95..592d5f76803e 100644 --- a/drivers/usb/host/ehci-msm.c +++ b/drivers/usb/host/ehci-msm.c @@ -40,27 +40,9 @@ static int ehci_msm_reset(struct usb_hcd *hcd) int retval; ehci->caps = USB_CAPLENGTH; - ehci->regs = USB_CAPLENGTH + - HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); - dbg_hcs_params(ehci, "reset"); - dbg_hcc_params(ehci, "reset"); - - /* cache the data to minimize the chip reads*/ - ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); - hcd->has_tt = 1; - ehci->sbrn = HCD_USB2; - - retval = ehci_halt(ehci); - if (retval) - return retval; - - /* data structure init */ - retval = ehci_init(hcd); - if (retval) - return retval; - retval = ehci_reset(ehci); + retval = ehci_setup(hcd); if (retval) return retval; |