summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHsieh Hung-En <hungen3108@gmail.com>2026-01-31 00:00:17 +0800
committerMark Brown <broonie@kernel.org>2026-02-02 12:50:03 +0000
commit8232e6079ae6f8d3a61d87973cb427385aa469b9 (patch)
treef5a41350be6cbd0518abee3e3f6708af8871a066 /include/linux/i2c/git@git.tavy.me:linux.git
parent9917d99f44231b531a1c704bbbd58059e78c2f59 (diff)
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/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions