diff options
| author | Radiy Zhambakiev <r.zhambakiev@prosoftsystems.ru> | 2026-10-02 11:36:53 +0000 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-10-15 16:30:00 +0100 |
| commit | 66ed12c1e5a986bee1dc63f9bd9c7f068138a69a (patch) | |
| tree | 09c496cb7c5ffea9b1a259e21daf3e3e97c2e527 /scripts/kernel-doc | |
| parent | 0473a5b0663663b75573bf284beb77459e07c461 (diff) | |
mfd: tps65217: Check return value when masking interrupt sources
tps65217_irq_init() ignores the error returned by
tps65217_set_bits() when masking all interrupt sources. A failed
register write leaves the driver's software mask out of sync with the
hardware and may result in spurious interrupts.
Check the return value and propagate the error to the caller.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 6556bdacf646fcaa ("mfd: tps65217: Add support for IRQs")
Cc: stable@vger.kernel.org
Signed-off-by: Radiy Zhambakiev <r.zhambakiev@prosoftsystems.ru>
Link: https://patch.msgid.link/20261002113624.178588-3-r.zhambakiev@prosoftsystems.ru
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions
