diff options
author | Magnus Lilja <lilja.magnus@gmail.com> | 2017-01-25 22:07:59 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-26 10:50:55 +0200 |
commit | 5528954a1a0c49c6974ef1b8d6eaceff536204d5 (patch) | |
tree | 0e2064cbf8197b47899d61b585c5de2e7ab160e7 /drivers/usb/phy | |
parent | 28781789051ef65ced5dbc40734bfacb5e1e8ea4 (diff) |
usb: gadget: udc: fsl: Add missing complete function.
Commit 304f7e5e1d08 ("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: 304f7e5e1d08 ("usb: gadget: Refactor request completion")
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
Cc: <stable@vger.kernel.org> # 3.18+
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/phy')
0 files changed, 0 insertions, 0 deletions