]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0cab1ea6308cc566e7e64cbb92bd998aab866fc6
treed77d15aba38e5c2b628d3ec488243fc9f444c125
parent866fc80bae37f21e56b6b8d1defc8944c378fd57
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