aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/db8500-prcmu.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c
index 8056968da20f..0ee801582d82 100644
--- a/drivers/mfd/db8500-prcmu.c
+++ b/drivers/mfd/db8500-prcmu.c
@@ -2184,16 +2184,8 @@ int db8500_prcmu_kick_a9wdog(u8 id)
2184/* 2184/*
2185 * timeout is 28 bit, in ms. 2185 * timeout is 28 bit, in ms.
2186 */ 2186 */
2187#define MAX_WATCHDOG_TIMEOUT 131000
2188int db8500_prcmu_load_a9wdog(u8 id, u32 timeout) 2187int db8500_prcmu_load_a9wdog(u8 id, u32 timeout)
2189{ 2188{
2190 if (timeout > MAX_WATCHDOG_TIMEOUT)
2191 /*
2192 * Due to calculation bug in prcmu fw, timeouts
2193 * can't be bigger than 131 seconds.
2194 */
2195 return -EINVAL;
2196
2197 return prcmu_a9wdog(MB4H_A9WDOG_LOAD, 2189 return prcmu_a9wdog(MB4H_A9WDOG_LOAD,
2198 (id & A9WDOG_ID_MASK) | 2190 (id & A9WDOG_ID_MASK) |
2199 /* 2191 /*