commit | bbe379fc7ca5cae09b1bc44fe5ee4173ad883fbf | [log] [tgz] |
---|---|---|
author | Henry Chen <henryc.chen@mediatek.com> | Fri Sep 11 21:05:20 2015 +0800 |
committer | Matthias Brugger <matthias.bgg@gmail.com> | Sun Sep 27 13:56:08 2015 +0200 |
tree | 0c031885f126c12a976eb3f3dc401e43acd01fd8 | |
parent | 1f93e4a96c9109378204c147b3eec0d0e8100fde [diff] |
soc: mediatek: Move the initial setting of pmic wrap interrupt before requesting irq. The watchdog may not be initialized by the bootloader, even if the rest of the pwrap is. Move the watchdog initialization out of pwrap_init() to make sure the watchdog is always initialized and not only when the pwrap is uninitialized. Signed-off-by: Henry Chen <henryc.chen@mediatek.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>