diff options
author | Hsin-Yi Wang <hsinyi@chromium.org> | 2021-06-01 11:59:04 +0800 |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2021-06-02 13:53:31 +0200 |
commit | eed6ff1bb2da65067d928f4ab322c7d75f944fa4 (patch) | |
tree | f247e33f7800ab40f31070ead52dcd1642e2715e /lib/mpi/mpi-sub-ui.c | |
parent | ba96de3ae5a7e2121cac80053b277eb2ab51a0ae (diff) |
soc: mtk-pm-domains: do not register smi node as syscon
Mediatek requires mmsys clocks to be unprepared during suspend,
otherwise system has chances to hang.
syscon_regmap_lookup_by_phandle_optional() will attach and prepare the
first clock in smi node, leading to additional prepare to the clock
which is not balanced with the prepare/unprepare pair in resume/suspend
callbacks.
If a power domain node requests an smi node and the smi node's first
clock is an mmsys clock, it will results in an unstable suspend resume.
Fixes: f414854c8843 ("soc: mediatek: pm-domains: Add SMI block as bus protection block")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: chun-jie.chen <chun-jie.chen@mediatek.com>
Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Link: https://lore.kernel.org/r/20210601035905.2970384-2-hsinyi@chromium.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions