Skip to content
Commit 8658ce5c authored by Adrian Bonislawski's avatar Adrian Bonislawski Committed by Chris Friedt
Browse files

drivers: dma: dw: Add power management state check in get_status



Add power management state validation in dw_dma_get_status() to ensure
the device is in active state before attempting to read DMA status.
Returns -EINVAL if device is not active, preventing potential issues
when accessing hardware registers while device is suspended.

Signed-off-by: default avatarAdrian Bonislawski <adrian.bonislawski@intel.com>
parent 5db84c7c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment