summaryrefslogtreecommitdiff
path: root/drivers/devfreq/devfreq_simple_dev.c
diff options
context:
space:
mode:
authorSaravana Kannan <skannan@codeaurora.org>2015-06-11 15:33:03 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:04:23 -0700
commit75ec9ed0ef4f74ac3cc4109d9ea76d41ff82f4f8 (patch)
treeea25ffeb12d0799269e100c17e21989ca13ae4a4 /drivers/devfreq/devfreq_simple_dev.c
parent00c37970704aa8ff0f9000263f5a0fd47b34843c (diff)
PM / devfreq: bimc-bwmon: Fix counter clearing
The counter needs to be cleared and acknowledged before clearing the IRQ bits. Otherwise, the HW could set the IRQ bit again if the old counter value was higher than the threshold. So, add a memory barrier after clearing the counter. Change-Id: I35f9f7905b05b8a185eb94d04d9c0a8ccfc2db51 Signed-off-by: Saravana Kannan <skannan@codeaurora.org>
Diffstat (limited to 'drivers/devfreq/devfreq_simple_dev.c')
0 files changed, 0 insertions, 0 deletions