projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05eac91
)
USB: r8a66597-hcd: fix driver removing
author
Yoshihiro Shimoda
<shimoda.yoshihiro@renesas.com>
Fri, 5 Oct 2007 06:53:12 +0000
(15:53 +0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 12 Oct 2007 21:55:29 +0000
(14:55 -0700)
Fixed the problem that accessed register of this controller after
having called iounmap().
Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/r8a66597-hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/r8a66597-hcd.c
b/drivers/usb/host/r8a66597-hcd.c
index
64fba53
..
ae8ec44
100644
(file)
--- a/
drivers/usb/host/r8a66597-hcd.c
+++ b/
drivers/usb/host/r8a66597-hcd.c
@@
-2126,8
+2126,8
@@
static int __init_or_module r8a66597_remove(struct platform_device *pdev)
struct usb_hcd *hcd = r8a66597_to_hcd(r8a66597);
del_timer_sync(&r8a66597->rh_timer);
- iounmap((void *)r8a66597->reg);
usb_remove_hcd(hcd);
+ iounmap((void *)r8a66597->reg);
usb_put_hcd(hcd);
return 0;
}