aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/smartreflex.h
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2011-10-13 23:14:08 -0500
committerTodd Poynor <toddpoynor@google.com>2011-10-28 18:31:26 -0700
commit2fde778a32f43084bedb3d0889789e284e627c90 (patch)
tree4508fee23a1dd0600ae0f76bf4ef917076359b8d /arch/arm/mach-omap2/smartreflex.h
parentbc002a66714ef87fe72c31d12183c7028e5502ef (diff)
downloadkernel_samsung_tuna-2fde778a32f43084bedb3d0889789e284e627c90.zip
kernel_samsung_tuna-2fde778a32f43084bedb3d0889789e284e627c90.tar.gz
kernel_samsung_tuna-2fde778a32f43084bedb3d0889789e284e627c90.tar.bz2
OMAP3+: PM: SR/Class3: disable errorgen before disable VP
SmartReflex AVS Errorgen module supplies signals to Voltage Processor. It is suggested that by disabling Errorgen module before we disable VP, we might be able to ensure lesser chances of race condition to occur in the system. Change-Id: Id0145adacfa63d7652a29859ad6c95cc2ac61cc8 Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/smartreflex.h')
-rw-r--r--arch/arm/mach-omap2/smartreflex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/smartreflex.h b/arch/arm/mach-omap2/smartreflex.h
index fd61498..5809141 100644
--- a/arch/arm/mach-omap2/smartreflex.h
+++ b/arch/arm/mach-omap2/smartreflex.h
@@ -240,6 +240,7 @@ void omap_sr_register_pmic(struct omap_sr_pmic_data *pmic_data);
int sr_enable(struct voltagedomain *voltdm, unsigned long volt);
void sr_disable(struct voltagedomain *voltdm);
int sr_configure_errgen(struct voltagedomain *voltdm);
+int sr_disable_errgen(struct voltagedomain *voltdm);
int sr_configure_minmax(struct voltagedomain *voltdm);
/* API to register the smartreflex class driver with the smartreflex driver */