summaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHsin-Yi Wang <hsinyi@chromium.org>2021-06-01 06:59:04 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2021-06-02 14:53:31 +0300
commiteed6ff1bb2da65067d928f4ab322c7d75f944fa4 (patch)
treef247e33f7800ab40f31070ead52dcd1642e2715e /lib/test_fortify/write_overflow-strncpy-src.c
parentba96de3ae5a7e2121cac80053b277eb2ab51a0ae (diff)
downloadlinux-eed6ff1bb2da65067d928f4ab322c7d75f944fa4.tar.xz
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/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions