Skip to content
Commit 5528954a authored by Magnus Lilja's avatar Magnus Lilja Committed by Felipe Balbi
Browse files

usb: gadget: udc: fsl: Add missing complete function.



Commit 304f7e5e ("usb: gadget: Refactor request completion")
removed check if req->req.complete is non-NULL, resulting in a NULL
pointer derefence and a kernel panic.
This patch adds an empty complete function instead of re-introducing
the req->req.complete check.

Fixes: 304f7e5e ("usb: gadget: Refactor request completion")

Signed-off-by: default avatarMagnus Lilja <lilja.magnus@gmail.com>
Cc: <stable@vger.kernel.org> # 3.18+
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent 28781789
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment