Skip to content

Commit

Permalink
serial: sh-sci: suspend/resume wakeup support V2
Browse files Browse the repository at this point in the history
This patch adds wakeup support to the sh-sci driver. The serial
core deals with all details but defaults to wakeup disabled. So
to make use of this feature enable wakeup in sysfs:

echo enabled > /sys/class/tty/ttySC0/power/wakeup

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Magnus Damm authored and Paul Mundt committed May 23, 2011
1 parent 5e50d2d commit 54aa89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/sh-sci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@ static int __devinit sci_init_single(struct platform_device *dev,
*
* For the muxed case there's nothing more to do.
*/
port->irq = p->irqs[SCIx_TXI_IRQ];
port->irq = p->irqs[SCIx_RXI_IRQ];

if (p->dma_dev)
dev_dbg(port->dev, "DMA device %p, tx %d, rx %d\n",
Expand Down

0 comments on commit 54aa89e

Please sign in to comment.