Skip to content

ASoC: core: Suspend/resume error propagation

Cezary Rojewski alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: component: Propagate result of suspend and resume callbacksinclude/sound/soc-component.h sound/soc/soc-component.c+18 -83 replies
2/3ASoC: core: Inline resume work back to resume functioninclude/sound/soc.h sound/soc/soc-core.c+12 -395 replies
3/3ASoC: core: Propagate component suspend/resume errorssound/soc/soc-core.c+22 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ASoC: core: Suspend/resume error propagation

Currently all erros encountered during suspend/resume are squelched what limits the error-handling possibilities.

Patches found here combined together allow for those errors to be propagated up. This aligns ASoC component's behavior with how PM-framework handles suspend/resume for a device - there's always an option for a client (driver) to return an error code in case of failure.

Amadeusz Sławiński (3):
ASoC: component: Propagate result of suspend and resume callbacks
ASoC: core: Inline resume work back to resume function
ASoC: core: Propagate component suspend/resume errors

 include/sound/soc-component.h |  4 +-
 include/sound/soc.h           |  3 --
 sound/soc/soc-component.c     | 22 +++++++---
 sound/soc/soc-core.c          | 75 ++++++++++++++++-------------------
 4 files changed, 52 insertions(+), 52 deletions(-)
Signature · 1 line
2.25.1