summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHsieh Hung-En <hungen3108@gmail.com>2026-01-30 19:00:17 +0300
committerMark Brown <broonie@kernel.org>2026-02-02 15:50:03 +0300
commit8232e6079ae6f8d3a61d87973cb427385aa469b9 (patch)
treef5a41350be6cbd0518abee3e3f6708af8871a066 /include/linux
parent9917d99f44231b531a1c704bbbd58059e78c2f59 (diff)
downloadlinux-8232e6079ae6f8d3a61d87973cb427385aa469b9.tar.xz
ASoC: es8328: Add error unwind in resume
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions