]> git.baikalelectronics.ru Git - kernel.git/commit
usb: isp1760: set IRQ flags properly
authorValentin Rothberg <Valentin.Rothberg@lip6.fr>
Sun, 1 Mar 2015 15:54:32 +0000 (16:54 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 9 Mar 2015 15:46:15 +0000 (10:46 -0500)
commit6cb0c14d2c9ae096ebc8756442d8687b40e60d09
treeefe161d0d579d74b2e098ad2c7549441887a856a
parent25e44f803e3dd3f0a25cb4465a32b929c0379d9c
usb: isp1760: set IRQ flags properly

The IRQF_DISABLED is a NOOP and scheduled to be removed.  According to
commit 16b7a78c7a5b ("genirq: Run irq handlers with interrupts
disabled") running IRQ handlers with interrupts enabled can cause stack
overflows when the interrupt line of the issuing device is still active.

This patch removes using this deprecated flag and additionally removes
redundantly setting IRQF_SHARED for isp1760_udc_register().

Signed-off-by: Valentin Rothberg <Valentin.Rothberg@lip6.fr>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/isp1760/isp1760-core.c
drivers/usb/isp1760/isp1760-udc.c