Skip to content

Commit 54aa89e

Browse files
Magnus Dammpmundt
authored andcommitted
serial: sh-sci: suspend/resume wakeup support V2
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>
1 parent 5e50d2d commit 54aa89e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/tty/serial/sh-sci.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@ static int __devinit sci_init_single(struct platform_device *dev,
17901790
*
17911791
* For the muxed case there's nothing more to do.
17921792
*/
1793-
port->irq = p->irqs[SCIx_TXI_IRQ];
1793+
port->irq = p->irqs[SCIx_RXI_IRQ];
17941794

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

0 commit comments

Comments
 (0)