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: 1d77246903 ("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
This commit is contained in:
Maulik Shah 2021-10-20 14:19:13 +05:30 committed by Bjorn Andersson
parent 086f52fdc8
commit 62563bd99c

View File

@ -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;