]> Gentwo Git Trees - linux/.git/commit
mfd: qnap-mcu: Use EPROTO in stead of EIO on checksum errors
authorHeiko Stuebner <heiko@sntech.de>
Thu, 13 Nov 2025 16:52:16 +0000 (17:52 +0100)
committerLee Jones <lee@kernel.org>
Thu, 20 Nov 2025 10:14:06 +0000 (10:14 +0000)
commitc94fce30e190555d74e2769b5fe4a932d0ad432e
tree00353862bcd44a5ef15278f03fa9d7f3b9de0250
parentb4881070a02b017aea84592c424d5a980ed261c4
mfd: qnap-mcu: Use EPROTO in stead of EIO on checksum errors

EPROTO stands for protocol error and a lot of driver already use it
to designate errors in the sent or received data from a peripheral.

So use it in the qnap-mcu as well for checksum errors.

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