diff options
| author | 2026-09-18 20:39:05 +0700 | |
|---|---|---|
| committer | 2026-09-28 17:36:58 +0100 | |
| commit | 7cca184ad434436e8f4648f71756bab0c3593ed9 (patch) | |
| tree | 7f7124954096ed9c2564a8675175e8e816e0ab43 /scripts/Makefile.thinlto | |
| parent | ASoC: mediatek: mt8192: Use dev_err_probe() for devm_pinctrl_get() (diff) | |
ASoC: mediatek: mt8192: check return values in mt8192_afe_gpio_init()
Currently, mt8192_afe_gpio_init() ignores the return values of
mt8192_afe_gpio_select() and mt8192_afe_gpio_request(). If configuring
GPIO states or requesting GPIOs fails during initialization, the function
still proceeds and returns 0, masking the initialization failure.
Fix this by checking and propagating the return values properly.
Fixes: 125ab5d588b0 ("ASoC: mediatek: mt8192: add platform driver")
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260918133912.133799-10-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
