Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abonislawski
Copy link
Member

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.

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: Adrian Bonislawski <[email protected]>
@zephyrbot zephyrbot added the area: DMA Direct Memory Access label Jul 18, 2025
@zephyrbot zephyrbot requested a review from teburd July 18, 2025 12:42
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: DMA Direct Memory Access
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants