summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-09-18 20:39:11 +0700
committerMark Brown <broonie@kernel.org>2026-09-28 17:37:04 +0100
commitd6c8a0b5bf696d89350e43bf554362de8929f801 (patch)
tree6d11cbeb209e90c769b3211cbc33b99234bb86c6 /include
parent49aeb628d10ef3d5694c39b7a3427d34bde06bb2 (diff)
downloadlinux-d6c8a0b5bf696d89350e43bf554362de8929f801.tar.gz
linux-d6c8a0b5bf696d89350e43bf554362de8929f801.zip
ASoC: mediatek: mt8192-mt6359: Fix error handling in MTKAIF calibration
mt8192_mt6359_mtkaif_calibration() ignored the return values of pm_runtime_get_sync() and mt8192_afe_gpio_request(), which could leave PM runtime references or GPIO state unbalanced on failure. Switch to pm_runtime_resume_and_get(), check each GPIO request, and unwind on error. Fixes: 18b13ff23fab ("ASoC: mediatek: mt8192: add machine driver with mt6359, rt1015 and rt5682") Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260918133912.133799-16-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions