Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288410
b: refs/heads/master
c: 048be43
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Paul Mundt committed Mar 9, 2012
1 parent c2c9747 commit 595f6f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 948c46a195691a214811538ee4b6c0312ec15cb5
refs/heads/master: 048be431e40ee32df8e6c1a2c216693afe3ee358
5 changes: 5 additions & 0 deletions trunk/drivers/tty/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1710,6 +1710,8 @@ static int sci_startup(struct uart_port *port)

dev_dbg(port->dev, "%s(%d)\n", __func__, port->line);

pm_runtime_put_noidle(port->dev);

sci_port_enable(s);

ret = sci_request_irq(s);
Expand Down Expand Up @@ -1737,6 +1739,8 @@ static void sci_shutdown(struct uart_port *port)
sci_free_irq(s);

sci_port_disable(s);

pm_runtime_get_noresume(port->dev);
}

static unsigned int sci_scbrr_calc(unsigned int algo_id, unsigned int bps,
Expand Down Expand Up @@ -2075,6 +2079,7 @@ static int __devinit sci_init_single(struct platform_device *dev,
sci_init_gpios(sci_port);

pm_runtime_irq_safe(&dev->dev);
pm_runtime_get_noresume(&dev->dev);
pm_runtime_enable(&dev->dev);
}

Expand Down

0 comments on commit 595f6f0

Please sign in to comment.