staging: dwc2: fix dwc2_hcd_qtd_add()
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>
Sat, 13 Jul 2013 21:53:51 +0000 (14:53 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 21:54:48 +0000 (14:54 -0700)
commitb2d6cb55183b93d65dfc4a71c2706c4e13fa19c5
tree5d7d80962b5fb49fafc2829503196803fb0ef541
parent399fdf9e57457444bbb5ab33eefa1f8723e9ea05
staging: dwc2: fix dwc2_hcd_qtd_add()

The logic in dwc2_hcd_qtd_add() was a bit messy, and one of the
error exit paths was broken. Fix it up.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/hcd_queue.c