From: Andrzej Pietrasiewicz Date: Fri, 26 Jul 2013 12:37:13 +0000 (+0200) Subject: usb: gadget: multi: fix error return code in cdc_do_config() X-Git-Tag: v3.11-rc4~26^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8abc6fa163d40bccc80c7b1f821f2579ab26864d;p=pandora-kernel.git usb: gadget: multi: 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 59835a (usb: gadget: multi: use function framework for ACM.) Make rndis_do_config() consistent with cdc_do_config() in the way it handles returning the PTR_ERR(f_acm_*). Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park Acked-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed