projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d0bfbf
)
MUSB: DaVinci: fix musb_platform_init() error cleanup path
author
Sergei Shtylyov
<sshtylyov@ru.mvista.com>
Thu, 25 Mar 2010 11:14:30 +0000
(13:14 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 30 Apr 2010 16:25:08 +0000
(09:25 -0700)
This function forgets to call clk_disable() iff reading the USB module version
register returns 0.
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/davinci.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/davinci.c
b/drivers/usb/musb/davinci.c
index
29bce5c
..
ce2e16f
100644
(file)
--- a/
drivers/usb/musb/davinci.c
+++ b/
drivers/usb/musb/davinci.c
@@
-444,6
+444,8
@@
int __init musb_platform_init(struct musb *musb)
return 0;
fail:
+ clk_disable(musb->clock);
+
usb_nop_xceiv_unregister();
return -ENODEV;
}