]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
soc: mediatek: Move the initial setting of pmic wrap interrupt before requesting...
authorHenry Chen <henryc.chen@mediatek.com>
Fri, 11 Sep 2015 13:05:20 +0000 (21:05 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Sun, 27 Sep 2015 11:56:08 +0000 (13:56 +0200)
commitbbe379fc7ca5cae09b1bc44fe5ee4173ad883fbf
tree0c031885f126c12a976eb3f3dc401e43acd01fd8
parent1f93e4a96c9109378204c147b3eec0d0e8100fde
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>
drivers/soc/mediatek/mtk-pmic-wrap.c