diff options
| author | 2026-09-18 20:39:11 +0700 | |
|---|---|---|
| committer | 2026-09-28 17:37:04 +0100 | |
| commit | d6c8a0b5bf696d89350e43bf554362de8929f801 (patch) | |
| tree | 6d11cbeb209e90c769b3211cbc33b99234bb86c6 /scripts/Makefile.thinlto | |
| parent | ASoC: mediatek: mt8192: Propagate errors in I2S DAI DAPM event handlers (diff) | |
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
