summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-09-30 15:51:56 +0530
committerRabin VINCENT <rabin.vincent@stericsson.com>2011-09-30 13:00:47 +0200
commit20090f9fc3fc4652d4fa47d9b85e0d551484ba6b (patch)
tree4c66bfdce35b4762000bc9d86537bcfef32abdd2
parent397f1d809a979fe0d1001d8c3d5def8f47eb20c5 (diff)
db5500-prcmu: call debug function to record ARM OPP
ST-Ericsson ID: 361450 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie906e98524e8df5dccbe58580f30cc6965ca6244 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32717
-rw-r--r--drivers/mfd/db5500-prcmu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mfd/db5500-prcmu.c b/drivers/mfd/db5500-prcmu.c
index 81c65c07a6e..3b54088a6e0 100644
--- a/drivers/mfd/db5500-prcmu.c
+++ b/drivers/mfd/db5500-prcmu.c
@@ -28,6 +28,8 @@
#include <mach/hardware.h>
#include <mach/irqs.h>
#include <mach/db5500-regs.h>
+#include <mach/prcmu-debug.h>
+
#include "db5500-prcmu-regs.h"
#define PRCMU_FW_VERSION_OFFSET 0xA4
@@ -1066,6 +1068,8 @@ int db5500_prcmu_set_arm_opp(u8 opp)
unlock_and_return:
mutex_unlock(&mb1_transfer.lock);
bailout:
+ if (!r)
+ prcmu_debug_arm_opp_log(opp);
return r;
}