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

Skip to content
Commit 52593752 authored by Jonathan Avila's avatar Jonathan Avila
Browse files

PM / devfreq: bw_hwmon: Fix event-based race condition



Two events caused by sysfs writes to the bw_hwmon governor, when properly
interleaved, can lead to a race condition due to needing to stop and
restart the hardware monitor.  Fix this by adding locking to the event
handler.

Change-Id: I85c120ac0cf53f59ec12b8f56aed494acc446258
Signed-off-by: default avatarJonathan Avila <avilaj@codeaurora.org>
parent 40859329
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