commit | 34e2beb2c883e0ea1b6135ad6f7713f7574a01aa | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Thu Mar 25 13:14:33 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Apr 30 09:25:09 2010 -0700 |
tree | ef01380e3d4149f5ad25adf9fa13980069f0e6d8 | |
parent | c6a39eec9dcd5f205fd41a5c87a1f3e5d95ffaaa [diff] |
musb_core: fix musb_init_controller() error cleanup path This function forgets to call usb_remove_hcd() or musb_gadget_cleanup() iff sysfs_create_group() fails. [ felipe.balbi@nokia.com : review the entire error path not only when we fail hcd or gadget ] 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>