]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: fusb300_udc: fix error return code in fusb300_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 11:49:37 +0000 (19:49 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 15 May 2013 14:25:19 +0000 (17:25 +0300)
commit51e7fd1b4a4492cd354a0f7890965d3e38bf19bd
tree5bc8180bdce24beaf55b8ce3d5ab9205ac6cd001
parent0cab1ea6308cc566e7e64cbb92bd998aab866fc6
usb: gadget: fusb300_udc: fix error return code in fusb300_probe()

Fix to return a negative error code from the 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/fusb300_udc.c