drivers/serial/serial.c: Only real uart will call pm_activity().

This commit is contained in:
ligd 2019-11-03 19:56:28 -06:00 committed by Gregory Nutt
parent 270b62bacc
commit 3480f7a0bc
1 changed files with 1 additions and 1 deletions

View File

@ -1696,7 +1696,7 @@ void uart_datareceived(FAR uart_dev_t *dev)
uart_pollnotify(dev, POLLIN);
#ifdef CONFIG_PM
#if defined(CONFIG_PM) && defined(CONFIG_SERIAL_CONSOLE)
/* Call pm_activity when characters are received on the console device */
if (dev->isconsole)