i2c: tegra-bpmp: Implement better error handling

Inspect a message's return value upon successful IVC transaction to
determine if the I2C transaction on the BPMP side was successful.

Heavily based on work by Timo Alho <talho@nvidia.com>.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
Thierry Reding 2021-03-23 16:57:13 +01:00 • committed by Wolfram Sang
commit 1a0e240d09