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

Cezary Rojewski cezary.rojewski at intel.com
Fri Nov 4 14:12:41 CET 2022


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(-)

-- 
2.25.1



More information about the Alsa-devel mailing list