]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: r8a66597-udc: fix error return code in r8a66597_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 11:48:50 +0000 (19:48 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 15 May 2013 14:25:00 +0000 (17:25 +0300)
commit866fc80bae37f21e56b6b8d1defc8944c378fd57
tree55cc6fa9770b81d89e6e498bdf56d67b10731231
parentbc52e125a3ad87a7b6309ba4081e01f7a1996f19
usb: gadget: r8a66597-udc: fix error return code in r8a66597_probe()

Fix to return -ENOMEM in the request alloc error handling
case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/r8a66597-udc.c