usb: gadget: multi: fix error return code in rndis_do_config()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 6 Apr 2013 09:23:22 +0000 (17:23 +0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 23 Apr 2013 11:11:29 +0000 (14:11 +0300)
commitad46047bd1988d61bc53ea354b77ef40f8a674a5
treec7780a3dffe1ff8504f2a3495b04d3aa8b7e00e7
parent6ee3e8e63d77bb4ed686f0c92dc7aa1a8e13fefb
usb: gadget: multi: fix error return code in rndis_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 59835a (usb: gadget: multi: use
function framework for ACM.)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/multi.c