Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54aa89ea authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt
Browse files

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: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 5e50d2d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",