diff options
| author | Niranjan H Y <niranjan.hy@ti.com> | 2026-05-05 16:48:03 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-07 17:18:37 +0900 |
| commit | cdff2e6ab8908f523474931e6f986022f045fb3f (patch) | |
| tree | 3bccdd403934b795ace75dbc3b2646b6ee3ff79c /include/linux/debugobjects.h | |
| parent | 36645381b864b53ae976221854bbfc23da6abba3 (diff) | |
ASoC: SDCA: Add PDE verification reusable helper
Implement sdca_asoc_pde_ensure_ps() helper function to poll for PDE
power state transitions. Per SDCA specification, after writing
REQUESTED_PS, drivers must poll ACTUAL_PS until the target power state
is reached.
Changes include:
- Add sdca_asoc_pde_ensure_ps() to handle ACTUAL_PS polling with
support for device-specific delay tables or default intervals
- Export function via sdca_asoc.h for use by SDCA-compliant drivers
- Refactor entity_pde_event() in sdca_asoc.c to use the helper
Signed-off-by: Niranjan H Y <niranjan.hy@ti.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20260505111806.2280-2-niranjan.hy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
