diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2013-07-26 14:37:13 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-07-29 13:15:18 +0200 |
commit | 8abc6fa163d40bccc80c7b1f821f2579ab26864d (patch) | |
tree | 7b79027f819f5727ca5168193727242a6fee1b47 /drivers/usb/gadget/dbgp.c | |
parent | usb: gadget: free opts struct on error recovery (diff) | |
download | linux-8abc6fa163d40bccc80c7b1f821f2579ab26864d.tar.xz linux-8abc6fa163d40bccc80c7b1f821f2579ab26864d.zip |
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 <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/dbgp.c')
0 files changed, 0 insertions, 0 deletions