usb: fusbh200-hcd: fix error handling in fusbh200_hcd_fusbh200_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 21 May 2013 02:40:41 +0000 (10:40 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 18:48:03 +0000 (11:48 -0700)
commit244435b8eecba7bb8b791350de3f08e638a331f2
treee721493dc251d0fbb138b808d4b5c798858730d5
parent5462b0db83dfe9152e48c2e14bf84bd855732e20
usb: fusbh200-hcd: fix error handling in fusbh200_hcd_fusbh200_probe()

Fix to release all resources when fusbh200_setup() fail instead of only
return error.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fusbh200-hcd.c