commit | c8c18883ba8b8c7f2d9d463c8cf948b944e3c2df | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Thu Apr 25 17:29:05 2013 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Wed May 15 17:15:57 2013 +0300 |
tree | e9cb317e0f10d17254f53ad74a1e9de16c4a2cf8 | |
parent | f722406faae2d073cc1d01063d1123c35425939e [diff] |
usb: gadget: zero: fix error return code in zero_bind() Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Introduced by commit cf9a08ae5aece88987bbeee8eb0dd0ebb5015815 (usb: gadget: convert source sink and loopback to new function interface) Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Felipe Balbi <balbi@ti.com>