Skip to content
Commit 48e7bbbb authored by Ran Wang's avatar Ran Wang Committed by Felipe Balbi
Browse files

usb: gadget: fsl: fix null pointer checking



fsl_ep_fifo_status() should return error if _ep->desc is null.

Fixes: 75eaa498 (“usb: gadget: Correct NULL pointer checking in fsl gadget”)
Reviewed-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarRan Wang <ran.wang_1@nxp.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 0d66e048
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment