MUSB: OMAP: don't call clk_put()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, April 30, 2010 - 10:59 am

Gitweb:     http://git.kernel.org/linus/7917a9df73c13822cc830f0ead0fb1b44a930616
Commit:     7917a9df73c13822cc830f0ead0fb1b44a930616
Parent:     13962c747915e4d7ef4cf92c36bd06a7fe648f0b
Author:     Sergei Shtylyov <sshtylyov@ru.mvista.com>
AuthorDate: Thu Mar 25 13:14:31 2010 +0200
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Fri Apr 30 09:25:09 2010 -0700

    MUSB: OMAP: don't call clk_put()
    
    Remove duplicate/unbalanced call to clk_put() from musb_platform_exit() --
    clk_put() gets called from musb_core.c anyway...
    
    Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
    Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/usb/musb/omap2430.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 490cdf1..8259263 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -331,8 +331,5 @@ int musb_platform_exit(struct musb *musb)
 
 	musb_platform_suspend(musb);
 
-	clk_put(musb->clock);
-	musb->clock = NULL;
-
 	return 0;
 }
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MUSB: OMAP: don't call clk_put(), Linux Kernel Mailing ..., (Fri Apr 30, 10:59 am)