Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ca0677a29bddee35918bf3c0c55cc3badd69079e
Commit:     ca0677a29bddee35918bf3c0c55cc3badd69079e
Parent:     05eac910b69209164b1d9357bf8877a7c81b2e4e
Author:     Yoshihiro Shimoda <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 5 15:53:12 2007 +0900
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Oct 12 14:55:29 2007 -0700

    USB: r8a66597-hcd: fix driver removing
    
    Fixed the problem that accessed register of this controller after
    having called iounmap().
    
    Signed-off-by: Yoshihiro Shimoda <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
 drivers/usb/host/r8a66597-hcd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/host/r8a66597-hcd.c b/drivers/usb/host/r8a66597-hcd.c
index 64fba53..ae8ec44 100644
--- 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;
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to