summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2011-09-30 15:51:56 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 10:59:09 +0200
commit674988787b2bd0089377b46fb5aaf8c14ac38b7e (patch)
treec8a3bb6606ca1ed321918658cb74731f9f282b47 /drivers
parenta9078aa68e5b6a339158911f34386ccb49e246dd (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
Diffstat (limited to 'drivers')
-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;
}