Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216974
b: refs/heads/master
c: 3244fcd
h: refs/heads/master
v: v3
  • Loading branch information
Kevin Hilman committed Sep 29, 2010
1 parent dbd83da commit e6dc54a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c04ede382a64020f19e9aa23a85493a09af945d3
refs/heads/master: 3244fcd227526a2f21018a280c7af0a9219c6ff4
8 changes: 6 additions & 2 deletions trunk/arch/arm/mach-omap2/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/serial_8250.h>
#include <linux/pm_runtime.h>

#ifdef CONFIG_SERIAL_OMAP
#include <plat/omap-serial.h>
Expand Down Expand Up @@ -530,14 +531,17 @@ void omap_uart_enable_irqs(int enable)
struct omap_uart_state *uart;

list_for_each_entry(uart, &uart_list, node) {
if (enable)
if (enable) {
pm_runtime_put_sync(&uart->pdev->dev);
ret = request_threaded_irq(uart->irq, NULL,
omap_uart_interrupt,
IRQF_SHARED,
"serial idle",
(void *)uart);
else
} else {
pm_runtime_get_noresume(&uart->pdev->dev);
free_irq(uart->irq, (void *)uart);
}
}
}

Expand Down

0 comments on commit e6dc54a

Please sign in to comment.