From: Sergei Shtylyov Date: Thu, 25 Mar 2010 11:14:33 +0000 (+0200) Subject: musb_core: fix musb_init_controller() error cleanup path X-Git-Tag: v2.6.34-rc7~38^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34e2beb2c883e0ea1b6135ad6f7713f7574a01aa;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed