diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2017-07-24 19:29:16 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-10-19 16:27:55 +0200 |
commit | 2e1e09ed423781d209c1fea773b1c3e614550ea5 (patch) | |
tree | a17cbe2853cf5219aec821de7627906fbac9e786 /include/soc/tegra | |
parent | 370d010f0ef09db7ab157a6b5d6d9a737b148f2a (diff) | |
download | lwn-2e1e09ed423781d209c1fea773b1c3e614550ea5.tar.gz lwn-2e1e09ed423781d209c1fea773b1c3e614550ea5.zip |
firmware: tegra: Expose tegra_bpmp_mrq_return()
Expose and export the tegra_bpmp_mrq_return() function for use by
drivers outside the core BPMP driver. This function is used to reply to
messages originating from the BPMP, which is required in the thermal
driver.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/soc/tegra')
-rw-r--r-- | include/soc/tegra/bpmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/soc/tegra/bpmp.h b/include/soc/tegra/bpmp.h index 57519f4c126a..b382ed01af09 100644 --- a/include/soc/tegra/bpmp.h +++ b/include/soc/tegra/bpmp.h @@ -118,6 +118,8 @@ int tegra_bpmp_transfer_atomic(struct tegra_bpmp *bpmp, struct tegra_bpmp_message *msg); int tegra_bpmp_transfer(struct tegra_bpmp *bpmp, struct tegra_bpmp_message *msg); +void tegra_bpmp_mrq_return(struct tegra_bpmp_channel *channel, int code, + const void *data, size_t size); int tegra_bpmp_request_mrq(struct tegra_bpmp *bpmp, unsigned int mrq, tegra_bpmp_mrq_handler_t handler, void *data); |