commit | 9bda1aac6b98d79f06df4ae40711bf08d23e766d | [log] [tgz] |
---|---|---|
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | Fri Nov 22 16:43:45 2013 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Nov 25 11:59:57 2013 -0800 |
tree | 69eb6f662462bae5ba1222bab61fb6cce0631b1f | |
parent | beb7e592bcfd750951c47580494f13065f0fd44c [diff] |
staging: dwc2: fix some functions to return a proper error code Fix some functions called by dwc2_hcd_qtd_add() to return either a proper error code or 0, instead of somewhat random values. Then change the caller of dwc2_hcd_qtd_add() to just check the return value for 0. Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>