]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
i2c: tegra-bpmp: Implement better error handling
authorThierry Reding <treding@nvidia.com>
Tue, 23 Mar 2021 15:57:13 +0000 (16:57 +0100)
committerWolfram Sang <wsa@kernel.org>
Wed, 31 Mar 2021 07:52:23 +0000 (09:52 +0200)
commit1a0e240d09413ac6c90ce6247afdfc424c84103f
treecd36fa2b93228f6afa716e69257a47b488d77ed5
parent71581562ee36032d2d574a9b23ad4af6d6a64cf7
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>
drivers/i2c/busses/i2c-tegra-bpmp.c