* [PATCH] soc: qcom: qcom_stats: Fix client votes offset
@ 2021-10-20 8:49 Maulik Shah
2021-10-20 13:08 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Maulik Shah @ 2021-10-20 8:49 UTC (permalink / raw)
To: bjorn.andersson
Cc: linux-arm-msm, linux-kernel, agross, rnayak, lsrao, stephan,
shawn.guo, Maulik Shah
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>
---
drivers/soc/qcom/qcom_stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/qcom_stats.c b/drivers/soc/qcom/qcom_stats.c
index 817505b..131d24c 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;
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] soc: qcom: qcom_stats: Fix client votes offset
2021-10-20 8:49 [PATCH] soc: qcom: qcom_stats: Fix client votes offset Maulik Shah
@ 2021-10-20 13:08 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2021-10-20 13:08 UTC (permalink / raw)
To: Maulik Shah
Cc: bjorn.andersson, linux-arm-msm, linux-kernel, agross, rnayak,
lsrao, stephan
On Wed, Oct 20, 2021 at 02:19:13PM +0530, Maulik Shah wrote:
> 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>
> ---
> drivers/soc/qcom/qcom_stats.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/soc/qcom/qcom_stats.c b/drivers/soc/qcom/qcom_stats.c
> index 817505b..131d24c 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;
> --
> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
> of Code Aurora Forum, hosted by The Linux Foundation
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-10-20 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 8:49 [PATCH] soc: qcom: qcom_stats: Fix client votes offset Maulik Shah
2021-10-20 13:08 ` Shawn Guo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.