Commit 62563bd9 authored by Maulik Shah's avatar Maulik Shah Committed by Bjorn Andersson

soc: qcom: qcom_stats: Fix client votes offset

Client votes starts at 0x20 offset. Correct the offset.
Reported-and-suggested-by: default avatarShawn Guo <shawn.guo@linaro.org>
Fixes: 1d772469 ("soc: qcom: Add Sleep stats driver")
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
Reviewed-by: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1634719753-26064-1-git-send-email-mkshah@codeaurora.org
parent 086f52fd
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#define LAST_ENTERED_AT_OFFSET 0x8 #define LAST_ENTERED_AT_OFFSET 0x8
#define LAST_EXITED_AT_OFFSET 0x10 #define LAST_EXITED_AT_OFFSET 0x10
#define ACCUMULATED_OFFSET 0x18 #define ACCUMULATED_OFFSET 0x18
#define CLIENT_VOTES_OFFSET 0x1c #define CLIENT_VOTES_OFFSET 0x20
struct subsystem_data { struct subsystem_data {
const char *name; const char *name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment