mfd: qnap-mcu: Handle errors returned from qnap_mcu_write
authorHeiko Stuebner <heiko@sntech.de>
Mon, 4 Aug 2025 13:07:24 +0000 (15:07 +0200)
committerLee Jones <lee@kernel.org>
Wed, 1 Oct 2025 09:28:14 +0000 (10:28 +0100)
commitbf2de43060d528e52e372c63182a94b95c80d305
treedf189a4fc3314f507adfda6b32942a7034dcc8d4
parent5e1c88679174e4bfe5d152060b06d370bd85de80
mfd: qnap-mcu: Handle errors returned from qnap_mcu_write

qnap_mcu_write can return errors and those were not checked before.
So do that now.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250804130726.3180806-3-heiko@sntech.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/qnap-mcu.c