diff options
author | Gregory Herrero <gregory.herrero@intel.com> | 2015-04-29 22:09:20 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-04-29 22:20:22 +0200 |
commit | e499123ed780df64a35e6cc0a8c892b282fa71a4 (patch) | |
tree | a82e71fdfa54fcbe31f42162e9aba8ea77d9308c /drivers/usb/musb/tusb6010.c | |
parent | usb: dwc2: add hibernation core parameter (diff) | |
download | linux-e499123ed780df64a35e6cc0a8c892b282fa71a4.tar.xz linux-e499123ed780df64a35e6cc0a8c892b282fa71a4.zip |
usb: dwc2: host: ensure qtb exists before dereferencing it
dwc2_hc_nak_intr could be called with a NULL qtd.
Ensure qtd exists before dereferencing it to avoid kernel panic.
This happens when using usb to ethernet adapter.
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/tusb6010.c')
0 files changed, 0 insertions, 0 deletions