MUSB: DaVinci: fix musb_platform_init() error cleanup path
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 25 Mar 2010 11:14:30 +0000 (13:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 30 Apr 2010 16:25:08 +0000 (09:25 -0700)
commit13962c747915e4d7ef4cf92c36bd06a7fe648f0b
tree636a85ddad1ba7f5289b00647ed85bde395d82e2
parent3d0bfbf25957e04354389047f0e6ba520d58487c
MUSB: DaVinci: fix musb_platform_init() error cleanup path

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