[PATCH 0/4] ASoC: report additional component restore failures

Pengpeng Hou posted 4 patches 2 weeks, 5 days ago
Only 0 patches received!
sound/soc/codecs/es8326.c | 20 +++++++++++++++-----
sound/soc/codecs/es8375.c | 18 +++++++++++-------
sound/soc/codecs/es8389.c | 20 ++++++++++++++------
sound/soc/codecs/fs210x.c |  5 +++--
4 files changed, 43 insertions(+), 20 deletions(-)
[PATCH 0/4] ASoC: report additional component restore failures
Posted by Pengpeng Hou 2 weeks, 5 days ago
The three Everest resume callbacks ignore status reads before branching on
their output and then discard later restore failures. The FS210x helper marks
its cache dirty but publishes is_inited even when replay fails.

Check the fallible operations that delimit each restore transaction and
return before publishing dependent IRQ or software state. Commit
951af101c730 ("ASoC: report component resume callback errors") reports these
callback results while retaining ASoC's best-effort deferred resume behavior.

The issues were found by our static-analysis tool and manually reviewed.

Pengpeng Hou (4):
  ASoC: es8326: report resume restore errors
  ASoC: es8375: report resume restore errors
  ASoC: es8389: report resume restore errors
  ASoC: fs210x: report register restore errors

 sound/soc/codecs/es8326.c | 20 +++++++++++++++-----
 sound/soc/codecs/es8375.c | 18 +++++++++++-------
 sound/soc/codecs/es8389.c | 20 ++++++++++++++------
 sound/soc/codecs/fs210x.c |  5 +++--
 4 files changed, 43 insertions(+), 20 deletions(-)

-- 
2.50.1 (Apple Git-155)