usb: ci_udc: fix probe error cleanup
authorStephen Warren <swarren@nvidia.com>
Tue, 10 Jun 2014 17:02:37 +0000 (11:02 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 11 Jun 2014 00:26:05 +0000 (02:26 +0200)
commit9a7d34be13a6934e0fddfaf12236d8784343f902
treeb01b62022367bc0dc2a991e76ee159e6e8dfc302
parentbdf81611e444e8aef21cb05eeae69f694c0c7a39
usb: ci_udc: fix probe error cleanup

If allocation of the ep0 req fails, clean up all the allocations that
were made in ci_udc_probe().

Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/gadget/ci_udc.c