summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVijaya Kumar Kilari <vijay.kilari@stericsson.com>2011-08-11 11:39:25 +0200
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 10:59:04 +0200
commit2a161b2bdb7eb5d259c6675b25a0a44f2f2e2ff9 (patch)
treeaee28950f55aa03482bafbb3d4a399c2f1953ecf /include
parentd88a8f7366fc842f818e8861c82ee120670e8a7f (diff)
mfd/db5500-prcmu: implement EPOD handling
This implements accessor functions for handling the EPOD, i.e. voltage domain switches controlled by the DB5500 PRCMU, a prerequisite for implementing the voltage domain regulators. Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/dbx500-prcmu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/dbx500-prcmu.h b/include/linux/mfd/dbx500-prcmu.h
index e424f82347e..380f0d4defc 100644
--- a/include/linux/mfd/dbx500-prcmu.h
+++ b/include/linux/mfd/dbx500-prcmu.h
@@ -332,7 +332,7 @@ static inline bool prcmu_pending_irq(void)
static inline int prcmu_set_epod(u16 epod_id, u8 epod_state)
{
if (cpu_is_u5500())
- return -EINVAL;
+ return db5500_prcmu_set_epod(epod_id, epod_state);
else
return db8500_prcmu_set_epod(epod_id, epod_state);
}