Re: [PATCH v2 2/2] NFC: nxp-nci: don't print header length mismatch on i2c error
From: Krzysztof Kozlowski
Date: Wed Jun 29 2022 - 05:21:41 EST
On 27/06/2022 19:06, Michael Walle wrote:
> 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@xxxxxxxx>
> ---
> changes since v1:
> - reworded commit message
> - removed fixes tag
> - removed nfc_err() call, as it is done elsewhere in this driver
> - nxp_nci_i2c_fw_read() has the same issue. also handle it there
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof