mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 22:58:29 +00:00
mfd: Remove check for db8500 firmware bug
In prcmu firmware version 3.4.4 the issue with longer intervalls than 131 s was fixed, we don't expect the issue to creep back up. Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
4d64d2e34b
commit
6f53d10dda
1 changed files with 0 additions and 8 deletions
|
@ -2184,16 +2184,8 @@ int db8500_prcmu_kick_a9wdog(u8 id)
|
||||||
/*
|
/*
|
||||||
* timeout is 28 bit, in ms.
|
* timeout is 28 bit, in ms.
|
||||||
*/
|
*/
|
||||||
#define MAX_WATCHDOG_TIMEOUT 131000
|
|
||||||
int db8500_prcmu_load_a9wdog(u8 id, u32 timeout)
|
int db8500_prcmu_load_a9wdog(u8 id, u32 timeout)
|
||||||
{
|
{
|
||||||
if (timeout > MAX_WATCHDOG_TIMEOUT)
|
|
||||||
/*
|
|
||||||
* Due to calculation bug in prcmu fw, timeouts
|
|
||||||
* can't be bigger than 131 seconds.
|
|
||||||
*/
|
|
||||||
return -EINVAL;
|
|
||||||
|
|
||||||
return prcmu_a9wdog(MB4H_A9WDOG_LOAD,
|
return prcmu_a9wdog(MB4H_A9WDOG_LOAD,
|
||||||
(id & A9WDOG_ID_MASK) |
|
(id & A9WDOG_ID_MASK) |
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue