diff options
author | Timo Alho <talho@nvidia.com> | 2017-09-07 12:31:01 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-10-17 12:22:00 +0200 |
commit | 370d010f0ef09db7ab157a6b5d6d9a737b148f2a (patch) | |
tree | 85d29bab0e81e7034d093e14c205f36a855ffc13 /lib/kstrtox.h | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) |
firmware: tegra: Propagate error code to caller
Response messages from Tegra BPMP firmware contain an error return code
as the first word of payload. The error code is used to indicate
incorrectly formatted request message or use of non-existing resource
(clk, reset, powergate) identifier. Current implementation of
tegra_bpmp_transfer() ignores this code and does not pass it to caller.
Fix this by adding an extra struct member to tegra_bpmp_message and
populate that with return code.
Signed-off-by: Timo Alho <talho@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'lib/kstrtox.h')
0 files changed, 0 insertions, 0 deletions