projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8316d04
)
Revert "serial: omap: Fix IRQ handling return value"
author
Greg Kroah-Hartman
<
[email protected]
>
Tue, 27 Aug 2013 22:59:53 +0000
(15:59 -0700)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 27 Aug 2013 22:59:53 +0000
(15:59 -0700)
This reverts commit
908fd7e566b4c12e36e4487d2d5946de5e5ea30f
.
Kevin writes:
Greg, without a better justification in the changelog, I think
this patch should be dropped from tty-next.
Reported-by: Kevin Hilman <
[email protected]
>
Cc: Ruchika Kharwar <
[email protected]
>
Cc: Alexander Savchenko <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/tty/serial/omap-serial.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/omap-serial.c
b/drivers/tty/serial/omap-serial.c
index 2fa7b5ce2e0cf3966f046dc61e3818a46c014823..b0f46e666e1a02601731f74692ac64883b01db8a 100644
(file)
--- a/
drivers/tty/serial/omap-serial.c
+++ b/
drivers/tty/serial/omap-serial.c
@@
-538,6
+538,7
@@
static irqreturn_t serial_omap_irq(int irq, void *dev_id)
struct uart_omap_port *up = dev_id;
unsigned int iir, lsr;
unsigned int type;
+ irqreturn_t ret = IRQ_NONE;
int max_count = 256;
spin_lock(&up->port.lock);
@@
-548,6
+549,7
@@
static irqreturn_t serial_omap_irq(int irq, void *dev_id)
if (iir & UART_IIR_NO_INT)
break;
+ ret = IRQ_HANDLED;
lsr = serial_in(up, UART_LSR);
/* extract IRQ type from IIR register */
@@
-586,7
+588,7
@@
static irqreturn_t serial_omap_irq(int irq, void *dev_id)
pm_runtime_put_autosuspend(up->dev);
up->port_activity = jiffies;
- return
IRQ_HANDLED
;
+ return
ret
;
}
static unsigned int serial_omap_tx_empty(struct uart_port *port)