mbox series

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

Message ID 20221104131244.3920179-1-cezary.rojewski@intel.com (mailing list archive)
Headers show
Series ASoC: core: Suspend/resume error propagation | expand

Message

Cezary Rojewski Nov. 4, 2022, 1:12 p.m. UTC
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(-)