]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: nxp-nci: don't print header length mismatch on i2c error
authorMichael Walle <michael@walle.cc>
Mon, 27 Jun 2022 17:06:43 +0000 (19:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 13:05:00 +0000 (14:05 +0100)
commit38ca04e090de992c9d107d5faff6a3065feed78d
treee5a79abd1c7b7281fafa22b5f3561a42f8c7d4a1
parent118eced40cdb1284cd71ed7787cea6d9acc843e8
NFC: nxp-nci: don't print header length mismatch on i2c error

Don't print a misleading header length mismatch error if the i2c call
returns an error. Instead just return the error code without any error
message.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/nfc/nxp-nci/i2c.c