]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: 8250_of: manage bus clock in suspend/resume
authorAlex Elder <elder@riscstar.com>
Fri, 11 Apr 2025 20:38:27 +0000 (15:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Apr 2025 12:38:14 +0000 (14:38 +0200)
commit926040da60642335969ff99fa2ba67e4e0bb2618
tree5ff1daf8dcfbfcf3c1e2076be30787a555b72c4e
parent66f5f70ce07a5c4ad88709dc34c072673aaafa25
serial: 8250_of: manage bus clock in suspend/resume

Save the bus clock pointer in the of_serial_info structure, and use
that to disable the bus clock on suspend and re-enable it on resume.

Signed-off-by: Alex Elder <elder@riscstar.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Yixun Lan <dlan@gentoo.org>
Link: https://lore.kernel.org/r/20250411203828.1491595-4-elder@riscstar.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c