diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2010-03-25 13:14:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-30 09:25:09 -0700 |
commit | 34e2beb2c883e0ea1b6135ad6f7713f7574a01aa (patch) | |
tree | ef01380e3d4149f5ad25adf9fa13980069f0e6d8 /drivers/usb/serial | |
parent | c6a39eec9dcd5f205fd41a5c87a1f3e5d95ffaaa (diff) | |
download | linux-3.10-34e2beb2c883e0ea1b6135ad6f7713f7574a01aa.tar.gz linux-3.10-34e2beb2c883e0ea1b6135ad6f7713f7574a01aa.tar.bz2 linux-3.10-34e2beb2c883e0ea1b6135ad6f7713f7574a01aa.zip |
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>
Diffstat (limited to 'drivers/usb/serial')
0 files changed, 0 insertions, 0 deletions