Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4e1ccaa4 authored by Shivnandan Kumar's avatar Shivnandan Kumar Committed by Gerrit - the friendly Code Review server
Browse files

drivers: soc: qcom: fix underflow in read_event



in function read_event, total can be less than previous count as
cached_total_count is not always updated.
Fix this by updating cached_total_count in read_event
when CPU is not idle.

Change-Id: I76a92a41cc6d79eb55c02f96025950576a5c5808
Signed-off-by: default avatarShivnandan Kumar <kshivnan@codeaurora.org>
parent e69f8d02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment