serial: 8250: Add missing wakeup event reporting
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 14 Apr 2023 17:02:39 +0000 (10:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 11:43:09 +0000 (13:43 +0200)
commit0ba9e3a13c6adfa99e32b2576d20820ab10ad48a
treef41110ab64ffc2de12095c91d8e7c9ede8981b1e
parentd57d56e4dddfb5c92cd81abf8922055bf0fb85a4
serial: 8250: Add missing wakeup event reporting

An 8250 UART configured as a wake-up source would not have reported
itself through sysfs as being the source of wake-up, correct that.

Fixes: b3b708fa2780 ("wake up from a serial port")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20230414170241.2016255-1-f.fainelli@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c