diff options
author | Maulik Shah <mkshah@codeaurora.org> | 2021-10-20 11:49:13 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-10-24 07:35:42 +0300 |
commit | 62563bd99c7d7be269982b88173ad8938420d648 (patch) | |
tree | f4ce7a33711b03f1fba2092ff4b4549bea94ff1d /drivers/soc/qcom/qcom_stats.c | |
parent | 086f52fdc8f7bd273d06a3de2adf65a063eb5392 (diff) | |
download | linux-62563bd99c7d7be269982b88173ad8938420d648.tar.xz |
soc: qcom: qcom_stats: Fix client votes offset
Client votes starts at 0x20 offset. Correct the offset.
Reported-and-suggested-by: Shawn Guo <shawn.guo@linaro.org>
Fixes: 1d7724690344 ("soc: qcom: Add Sleep stats driver")
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Reviewed-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1634719753-26064-1-git-send-email-mkshah@codeaurora.org
Diffstat (limited to 'drivers/soc/qcom/qcom_stats.c')
-rw-r--r-- | drivers/soc/qcom/qcom_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/qcom_stats.c b/drivers/soc/qcom/qcom_stats.c index 817505bd99b5..131d24caabf8 100644 --- a/drivers/soc/qcom/qcom_stats.c +++ b/drivers/soc/qcom/qcom_stats.c @@ -22,7 +22,7 @@ #define LAST_ENTERED_AT_OFFSET 0x8 #define LAST_EXITED_AT_OFFSET 0x10 #define ACCUMULATED_OFFSET 0x18 -#define CLIENT_VOTES_OFFSET 0x1c +#define CLIENT_VOTES_OFFSET 0x20 struct subsystem_data { const char *name; |