commit | 5dbd693576726bd7d3228ee614060e0817305dde | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Nov 14 13:47:23 2012 +0800 |
committer | Felipe Balbi <balbi@ti.com> | Thu Dec 13 12:04:00 2012 +0200 |
tree | 1d955d16df8cf66f48f029aba790db88cb20760d | |
parent | 25e14c1fcce5c66b0d2d5e35fad35d044dc320ae [diff] |
usb: gadget: tcm_usb_gadge: fix to return error or 0 in tcm_usbg_drop_nexus() In the error handling case of tcm_usbg_drop_nexus(), the error code is assigned to 'ret', but it is ignored. We'd better return 'ret' instead of always return 0. dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Felipe Balbi <balbi@ti.com>