usb: gadget: net2280: fix infinite loop in irq handler
authorJussi Kivilinna <jussi.kivilinna@haltian.com>
Fri, 12 Aug 2016 14:29:34 +0000 (17:29 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 09:13:10 +0000 (12:13 +0300)
commit1de2ebfb8cd522ad7d0deae94ae47592f975e017
tree538e1a7fb27d94f8a6e05e5b0047bbc9e650094a
parent1650113888fe7b7e16604a5019c32dd3ddeb3af2
usb: gadget: net2280: fix infinite loop in irq handler

With SuperSpeed CDC NCM gadget, net2280 would get stuck in
'handle_ep_small' function. Triggering issue requires large
TCP transfer from host to USB3380.

Patch adds check for stuck condition and prevents hard lockup.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/net2280.c
This page took 0.024693 seconds and 5 git commands to generate.