diff options
Diffstat (limited to 'target/linux/ar71xx/files/drivers/usb')
-rw-r--r-- | target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c | 6 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/usb/host/ohci-ar71xx.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c b/target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c index 01433c2fb..b08db5baf 100644 --- a/target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c +++ b/target/linux/ar71xx/files/drivers/usb/host/ehci-ar71xx.c @@ -117,12 +117,12 @@ static int ehci_ar71xx_probe(const struct hc_driver *driver, return 0; - err_iounmap: +err_iounmap: iounmap(hcd->regs); - err_release_region: +err_release_region: release_mem_region(hcd->rsrc_start, hcd->rsrc_len); - err_put_hcd: +err_put_hcd: usb_put_hcd(hcd); return ret; } diff --git a/target/linux/ar71xx/files/drivers/usb/host/ohci-ar71xx.c b/target/linux/ar71xx/files/drivers/usb/host/ohci-ar71xx.c index 48457e013..1ab33f3bf 100644 --- a/target/linux/ar71xx/files/drivers/usb/host/ohci-ar71xx.c +++ b/target/linux/ar71xx/files/drivers/usb/host/ohci-ar71xx.c @@ -70,11 +70,11 @@ static int usb_hcd_ar71xx_probe(const struct hc_driver *driver, return 0; - err_stop_hcd: +err_stop_hcd: iounmap(hcd->regs); - err_release_region: +err_release_region: release_mem_region(hcd->rsrc_start, hcd->rsrc_len); - err_put_hcd: +err_put_hcd: usb_put_hcd(hcd); return ret; } @@ -102,7 +102,7 @@ static int __devinit ohci_ar71xx_start(struct usb_hcd *hcd) return 0; - err: +err: ohci_stop(hcd); return ret; } |