commit | 461972d8a4c94bc44f11a13046041c78a7cf18dd | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Thu Mar 25 13:14:32 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 30 09:25:09 2010 -0700 |
tree | bf42a78cd77fe5f76ff8340d2931796dcee70f80 | |
parent | 7917a9df73c13822cc830f0ead0fb1b44a930616 [diff] |
musb_core: don't call musb_platform_exit() twice musb_platform_exit() is called twice from musb_init_controller() iff controller initialization fails. Move the call (and the DevCtl register writes surrounding it) from musb_free() to musb_remove(). Fix mispalced and now incorrect 'goto's in musb_init_controller(). 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>