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 cf9a08ae (usb: gadget: convert source sink and loopback to new function interface) Acked-by: NMichal Nazarewicz <mina86@mina86.com> Signed-off-by: NWei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: NFelipe Balbi <balbi@ti.com>
Showing
想要评论请 注册 或 登录