From: Wei Yongjun Date: Thu, 25 Apr 2013 09:29:05 +0000 (+0800) Subject: usb: gadget: zero: fix error return code in zero_bind() X-Git-Tag: v3.10-rc3~26^2~26^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8c18883ba8b8c7f2d9d463c8cf948b944e3c2df;p=pandora-kernel.git 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 Signed-off-by: Wei Yongjun Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed