summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/functions.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-05-07 15:48:50 +0400
committerFelipe Balbi <balbi@ti.com>2013-05-15 18:25:00 +0400
commitf3423d3258cd9939c06df75a582b16d52fc2249f (patch)
tree55cc6fa9770b81d89e6e498bdf56d67b10731231 /drivers/usb/gadget/functions.c
parent48ad20f32d1153ad6a0a95ad2bfc391daa13fcad (diff)
downloadlinux-f3423d3258cd9939c06df75a582b16d52fc2249f.tar.xz
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>
Diffstat (limited to 'drivers/usb/gadget/functions.c')
0 files changed, 0 insertions, 0 deletions