Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45918
b: refs/heads/master
c: 9b93816
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Victor authored and Russell King committed Jan 24, 2007
1 parent d3f1318 commit 0cdaaa4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: e9d10a16ea76f42ea9ce58508e4af7c52acf1e40
refs/heads/master: 9b938166907558e664d8fa413e6233a36669e0c0
3 changes: 2 additions & 1 deletion trunk/drivers/serial/atmel_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,6 @@ static int atmel_serial_suspend(struct platform_device *pdev, pm_message_t state
if (device_may_wakeup(&pdev->dev) && !at91_suspend_entering_slow_clock())
enable_irq_wake(port->irq);
else {
disable_irq_wake(port->irq);
uart_suspend_port(&atmel_uart, port);
atmel_port->suspended = 1;
}
Expand All @@ -907,6 +906,8 @@ static int atmel_serial_resume(struct platform_device *pdev)
uart_resume_port(&atmel_uart, port);
atmel_port->suspended = 0;
}
else
disable_irq_wake(port->irq);

return 0;
}
Expand Down

0 comments on commit 0cdaaa4

Please sign in to comment.