diff options
| author | Hsieh Hung-En <hungen3108@gmail.com> | 2026-01-31 00:00:17 +0800 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:20:43 -0500 |
| commit | fecfe41f7ed07a48a9a51c4d64e2ce08a83b22fc (patch) | |
| tree | 13597b87f48d9fd2f0dad95969e04585fa54d21c /scripts/mod | |
| parent | 18c67fb3750b3e5339454621898fa60f17779c9b (diff) | |
ASoC: es8328: Add error unwind in resume
[ Upstream commit 8232e6079ae6f8d3a61d87973cb427385aa469b9 ]
Handle failures in the resume path by unwinding previously enabled
resources.
If enabling regulators or syncing the regcache fails, disable regulators
and unprepare the clock to avoid leaking resources and leaving the device
in a partially resumed state.
Signed-off-by: Hsieh Hung-En <hungen3108@gmail.com>
Link: https://patch.msgid.link/20260130160017.2630-6-hungen3108@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions
