Skip to content
Commit 4cda340a authored by Tang Bin's avatar Tang Bin Committed by Felipe Balbi
Browse files

usb: gadget: fsl: Fix a wrong judgment in fsl_udc_probe()



If the function "platform_get_irq()" failed, the negative value
returned will not be detected here, including "-EPROBE_DEFER", which
causes the application to fail to get the correct error message.
Thus it must be fixed.

Acked-by: default avatarLi Yang <leoyang.li@nxp.com>
Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: default avatarShengju Zhang <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 44734a59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment