Skip to content

Conversation

@ioannis-karachalios
Copy link
Contributor

@ioannis-karachalios ioannis-karachalios commented Nov 10, 2024

This commit should deal with fixing unbalanced policy state locks. When PM and PM_DEVICE are declared, default state, policy lock should be given only when active. Otherwise, an assertion should be raised for unbalanced pm_policy_state_lock_get and pm_policy_state_lock_put calls.

Fixes #81201

This commit should deal with fixing unbalanced policy state locks.
When PM and PM_DEVICE are declared, default state, policy locks
should be given only when  active.

Signed-off-by: Ioannis Karachalios <[email protected]>
@ioannis-karachalios ioannis-karachalios added the backport v3.7-branch Request backport to the v3.7-branch label Nov 11, 2024
@mmahadevan108 mmahadevan108 merged commit a66c070 into zephyrproject-rtos:main Nov 12, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Counter backport v3.7-branch Request backport to the v3.7-branch bug The issue is a bug, or the PR is fixing a bug platform: Renesas SmartBond Renesas Electronics Corporation, SmartBond

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Smartbond counter driver misses checking for unbalanced calls to policy state lock

6 participants