summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-09-18 20:39:05 +0700
committerMark Brown <broonie@kernel.org>2026-09-28 17:36:58 +0100
commit7cca184ad434436e8f4648f71756bab0c3593ed9 (patch)
tree7f7124954096ed9c2564a8675175e8e816e0ab43 /tools/perf/scripts/python
parent59608878c59373c5f866000fff81be8eaea8a7ef (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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions