commit | 8d6f51bda67bb68b33ed4a48c57b0904a3395301 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Sat Apr 06 17:25:21 2013 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Tue Apr 23 14:11:51 2013 +0300 |
tree | d3421498076bef29f0a3f0f129e6df609b79dd15 | |
parent | ad46047bd1988d61bc53ea354b77ef40f8a674a5 [diff] |
usb: gadget: cdc2: fix error return code in cdc_do_config() Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Introduced by commit 29a664 (usb: gadget: cdc2: use function framework for ACM) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Felipe Balbi <balbi@ti.com>