usb: gadget: m66592-udc: fix error return code in m66592_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 11:49:08 +0000 (19:49 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 15 May 2013 14:25:11 +0000 (17:25 +0300)
commitef89a1f3a84d127bdcda7e4dd54f763d2f88203f
treed77d15aba38e5c2b628d3ec488243fc9f444c125
parentf3423d3258cd9939c06df75a582b16d52fc2249f
usb: gadget: m66592-udc: fix error return code in m66592_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/m66592-udc.c