]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: s3c2410_udc: fix error return code in s3c2410_udc_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 11:48:22 +0000 (19:48 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 15 May 2013 14:24:39 +0000 (17:24 +0300)
commitbc52e125a3ad87a7b6309ba4081e01f7a1996f19
tree940f64b0127769ce417330efdc70323bdb8d77d8
parent2ff610ba93895da79bc565fcd0a340d4a63dc40d
usb: gadget: s3c2410_udc: fix error return code in s3c2410_udc_probe()

Fix to return a negative error code in the gpio_to_irq() error handling
case instead of 0, as done elsewhere in this function.

Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c2410_udc.c