diff options
author | Maulik Shah <mkshah@codeaurora.org> | 2020-02-03 19:05:35 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2020-02-11 22:15:02 -0800 |
commit | d5e205079c34aa1f33157627814f707d6057727a (patch) | |
tree | 55b4b77932bf7fa36843805afadfeebfbf0c7472 /include/soc/qcom | |
parent | aff9cc0847a58647ef010c5c0db0a8a00fb13911 (diff) | |
download | linux-stable-d5e205079c34aa1f33157627814f707d6057727a.tar.gz linux-stable-d5e205079c34aa1f33157627814f707d6057727a.tar.bz2 linux-stable-d5e205079c34aa1f33157627814f707d6057727a.zip |
drivers: qcom: rpmh: remove rpmh_flush export
rpmh_flush() was exported with the idea that an external entity
operation during CPU idle would know when to flush the sleep and wake
TCS. Since, this is not the case when defining a power domain for the
RSC. Remove the function export and instead allow the function to be
called internally.
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1580736940-6985-3-git-send-email-mkshah@codeaurora.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'include/soc/qcom')
-rw-r--r-- | include/soc/qcom/rpmh.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/soc/qcom/rpmh.h b/include/soc/qcom/rpmh.h index 619e07c75da9..f9ec353d24a5 100644 --- a/include/soc/qcom/rpmh.h +++ b/include/soc/qcom/rpmh.h @@ -20,8 +20,6 @@ int rpmh_write_async(const struct device *dev, enum rpmh_state state, int rpmh_write_batch(const struct device *dev, enum rpmh_state state, const struct tcs_cmd *cmd, u32 *n); -int rpmh_flush(const struct device *dev); - int rpmh_invalidate(const struct device *dev); #else @@ -40,9 +38,6 @@ static inline int rpmh_write_batch(const struct device *dev, const struct tcs_cmd *cmd, u32 *n) { return -ENODEV; } -static inline int rpmh_flush(const struct device *dev) -{ return -ENODEV; } - static inline int rpmh_invalidate(const struct device *dev) { return -ENODEV; } |