]> git.itanic.dy.fi Git - linux-stable/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)
commit9577fc5fdc8b07b891709af6453545db405e24ad
treee5a79abd1c7b7281fafa22b5f3561a42f8c7d4a1
parenteddd95b9423946aaacb55cac6a9b2cea8ab944fc
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