[PATCH v2 0/2] serial: 8250_dma: power off when DMA completed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If UART is runtime PM enabled and using DMA, the DMA completion will leave
device powered on. Fix it by calling serial8250_rpm_put_tx() in DMA completion
callback.

Changes v2:
- rebase on top of tty-next

Andy Shevchenko (2):
  serial: 8250_port: export serial8250_rpm_{get|put}_tx()
  serial: 8250_dma: power off device after TX is done

 drivers/tty/serial/8250/8250.h      | 5 +++++
 drivers/tty/serial/8250/8250_dma.c  | 6 ++++++
 drivers/tty/serial/8250/8250_port.c | 6 ++++--
 3 files changed, 15 insertions(+), 2 deletions(-)

-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux