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

logging: backend_uart: handle runtime PM



Allow the log_backend_uart char_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 log messages
to be output.

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