]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dwc2: fix error return code in dwc2_hcd_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 12 Apr 2013 14:41:48 +0000 (22:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Apr 2013 22:09:59 +0000 (15:09 -0700)
commit4422c49fa1d82c16c23c832445d420a118e44dfd
tree29144c50a348d863f38907cf7e94174cf1f372fe
parentdff36ad5dc904e892fbb6cc8c2a28df71a725f25
staging: dwc2: fix error return code in dwc2_hcd_init()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Reviewed-by: Matthijs Kooijman <matthijs@stdin.nl>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/hcd.c