summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorClemens Gruber <clemens.gruber@pqgruber.com>2016-09-05 19:29:58 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-24 10:07:39 +0200
commit34e255a63b415fbcb36190b9e4f2a24a846cd1fe (patch)
tree3c9c9930813385641f0660d78b180dc8676ea158 /scripts
parent59bc6b85d6a407aae0bb7135ea4da2aa00161f88 (diff)
usb: chipidea: udc: fix NULL ptr dereference in isr_setup_status_phase
commit 6f3c4fb6d05e63c9c6d8968302491c3a5457be61 upstream. Problems with the signal integrity of the high speed USB data lines or noise on reference ground lines can cause the i.MX6 USB controller to violate USB specs and exhibit unexpected behavior. It was observed that USBi_UI interrupts were triggered first and when isr_setup_status_phase was called, ci->status was NULL, which lead to a NULL pointer dereference kernel panic. This patch fixes the kernel panic, emits a warning once and returns -EPIPE to halt the device and let the host get stalled. It also adds a comment to point people, who are experiencing this issue, to their USB hardware design. Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions