]> git.itanic.dy.fi Git - linux-stable/commit
reset: tegra-bpmp: Handle errors in BPMP response
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 15 Sep 2021 08:55:14 +0000 (11:55 +0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 5 Oct 2021 08:55:18 +0000 (10:55 +0200)
commitc045ceb5a145d2a9a4bf33cbc55185ddf99f60ab
treec9331f996488f732415045e1731805bbe0765114
parent4af160707d7197d671a5b0ad9899383b6cb7c067
reset: 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>
Link: https://lore.kernel.org/r/20210915085517.1669675-2-mperttunen@nvidia.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/tegra/reset-bpmp.c