Skip to content
Commit 0561d0dd authored by Jordan Yates's avatar Jordan Yates Committed by Carles Cufí
Browse files

console: uart_console: handle runtime PM



Allow the uart_console console_out implementation to integrate with
'Device Runtime Power Management'.

Without using runtime PM, it is impossible for the application to manage
the power state of a UART instance, given that any module in the
application could theoretically LOG_* or printk at any point in time.

This removes the need to manually call `pm_device_state_set` when the
lowest power states must be reached, while still allowing console and
printk messages to be output.

Signed-off-by: default avatarJordan Yates <jordan.yates@data61.csiro.au>
parent e0fbd35f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment