diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2010-03-25 11:14:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 16:25:09 (GMT) |
commit | 461972d8a4c94bc44f11a13046041c78a7cf18dd (patch) | |
tree | bf42a78cd77fe5f76ff8340d2931796dcee70f80 /mm/migrate.c | |
parent | 7917a9df73c13822cc830f0ead0fb1b44a930616 (diff) | |
download | linux-fsl-qoriq-461972d8a4c94bc44f11a13046041c78a7cf18dd.tar.xz |
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 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions