Skip to content
Commit 0607f862 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: musb: gadget: prevent a NULL pointer dereference



Case we can't allocate struct musb_request,
prevent a NULL pointer dereference by returning
early.

Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent fcf173e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment