Skip to content

ASoC: es8328: error handling and resume fixes

Hsieh Hung-En linux-sound 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 1 replyIn review
  2. v13 patches 1 replySuperseded

Changes in v2 from the cover letter

- Split the previous "set_dai_fmt() and resume()" patch into three patches:
* Check and propagate errors in set_dai_fmt()
* Use cached regmap on resume for regcache sync
* Add error unwind in resume to avoid leaking enabled resources

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: es8328: Fix DAC deemphasis control handlingsound/soc/codecs/es8328.c+4 -30 replies
2/5ASoC: es8328: Propagate errors in set_bias_level()sound/soc/codecs/es8328.c+37 -230 replies
3/5ASoC: es8328: Check errors in set_dai_fmt()sound/soc/codecs/es8328.c+21 -90 replies
4/5ASoC: es8328: Use cached regmap on resumesound/soc/codecs/es8328.c+3 -60 replies
5/5ASoC: es8328: Add error unwind in resumesound/soc/codecs/es8328.c+8 -20 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] ASoC: es8328: error handling and resume fixes

This is v2 of the es8328 robustness series.

Changes since v1:
- Split the previous "set_dai_fmt() and resume()" patch into three patches:
* Check and propagate errors in set_dai_fmt()
* Use cached regmap on resume for regcache sync
* Add error unwind in resume to avoid leaking enabled resources

No functional changes intended beyond improving reviewability by splitting the patch.

Hsieh Hung-En (5):
ASoC: es8328: Fix DAC deemphasis control handling
ASoC: es8328: Propagate errors in set_bias_level()
ASoC: es8328: Check errors in set_dai_fmt()
ASoC: es8328: Use cached regmap on resume
ASoC: es8328: Add error unwind in resume

 sound/soc/codecs/es8328.c | 116 ++++++++++++++++++++++++--------------
 1 file changed, 73 insertions(+), 43 deletions(-)
Signature · 1 line
2.34.1