]> git.baikalelectronics.ru Git - kernel.git/commit
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, 11 May 2023 14:03:30 +0000 (23:03 +0900)
commitc3a121276dd243052dcc50b8cbda9110d9a317be
treeec9363dc817240f2987d7617f9aadb5595be38e9
parent3b91abe57a6d9363705933a8561d7d2b95f5868c
serial: 8250: Add missing wakeup event reporting

[ Upstream commit 0ba9e3a13c6adfa99e32b2576d20820ab10ad48a ]

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: 93250b0251b6 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/8250/8250_port.c