diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2010-03-25 13:14:32 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 09:25:09 -0700 |
commit | 461972d8a4c94bc44f11a13046041c78a7cf18dd (patch) | |
tree | bf42a78cd77fe5f76ff8340d2931796dcee70f80 /include | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions