Marek Vasut 1f54025d70 usb: gadget: ci: Avoid null pointer dereference
The ci_req->hw_buf can be NULL, test whether it is and if so,
avoid accessing it. Else, the system may crash.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Peter Chen <peter.chen@nxp.com>
Cc: Li Jun <jun.li@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
2022-02-11 01:30:43 +01:00
..
2022-01-26 23:23:17 +01:00
2022-01-26 23:23:17 +01:00
2022-01-26 23:23:17 +01:00
2020-12-18 20:32:21 -07:00
2020-05-18 21:19:18 -04:00