UPSTREAM: usb: dwc3: omap: use request_threaded_irq()
authorRoger Quadros <rogerq@ti.com>
Wed, 11 May 2016 14:36:42 +0000 (17:36 +0300)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000 (20:48 +0800)
commit03ac33d5c00e3f9f95d498b28feac7636b6963ce
tree041daf56f410a0b95d6501b5a41a38677c85e8ce
parentabf2d3ad110ae0d1103f1d5aa8cb2c65c28ccc93
UPSTREAM: usb: dwc3: omap: use request_threaded_irq()

We intend to share this interrupt with the OTG driver an to ensure
that irqflags match for the shared interrupt handlers we use
request_threaded_irq()

If we don't use request_treaded_irq() then forced threaded irq will
set IRQF_ONESHOT and this won't match with the OTG IRQ handler's
IRQ flags.

NOTE: OTG IRQ handler is yet to be added. This is a preparatory step.

Change-Id: I5b9fee6e7b2b63221abba43878961079c20ffd6f
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit 3f586c92d87778bc3d550435a31f8ac685541121)
drivers/usb/dwc3/dwc3-omap.c