mfd: mt6397: Modify suspend/resume behavior
authorHsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Tue, 21 Apr 2020 03:00:07 +0000 (11:00 +0800)
committerLee Jones <lee.jones@linaro.org>
Thu, 21 May 2020 07:54:40 +0000 (08:54 +0100)
commit4e2e7cfec13afa41fcbed1d9b93d83432aa0154f
tree8fdf8d2db243636a4998e06d006f2a39688ba945
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
mfd: mt6397: Modify suspend/resume behavior

Some pmics don't need backup interrupt settings, so we change to use
pm notifier for the pmics which are necessary to store settings.

Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/mt6397-core.c
drivers/mfd/mt6397-irq.c
include/linux/mfd/mt6397/core.h