]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: tegra-bpmp: Handle errors in BPMP response
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 15 Sep 2021 08:55:13 +0000 (11:55 +0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 8 Mar 2022 20:26:09 +0000 (21:26 +0100)
commita0fccf4c2b24d342c968647f130583ab1f36cf95
tree51062fcf5cd64444c77b20b18505eef5e85416a1
parent4aaff3bac9be33a22714d68ad9a7d97f1ec69b97
thermal: tegra-bpmp: Handle errors in BPMP response

The return value from tegra_bpmp_transfer indicates the success or
failure of the IPC transaction with BPMP. If the transaction
succeeded, we also need to check the actual command's result code.
Add code to do this.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20210915085517.1669675-1-mperttunen@nvidia.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/tegra/tegra-bpmp-thermal.c