Skip to content

Commit 62563bd

Browse files
mkshahcandersson
authored andcommitted
soc: qcom: qcom_stats: Fix client votes offset
Client votes starts at 0x20 offset. Correct the offset. Reported-and-suggested-by: Shawn Guo <[email protected]> Fixes: 1d77246 ("soc: qcom: Add Sleep stats driver") Signed-off-by: Maulik Shah <[email protected]> Reviewed-by: Shawn Guo <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 086f52f commit 62563bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/soc/qcom/qcom_stats.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define LAST_ENTERED_AT_OFFSET 0x8
2323
#define LAST_EXITED_AT_OFFSET 0x10
2424
#define ACCUMULATED_OFFSET 0x18
25-
#define CLIENT_VOTES_OFFSET 0x1c
25+
#define CLIENT_VOTES_OFFSET 0x20
2626

2727
struct subsystem_data {
2828
const char *name;

0 commit comments

Comments
 (0)