Add vendor hook in cpufreq_offline to block uevent pathway before cpufreq cooling unregister to prevent NETLINK broadcast waking up during suspend. The change is because android hardware health service will register epoll with EPOLLWAKEUP flag [1]. Afterwards, when suspend starts, NETLINK will hold the wakelock because the EPOLLWAKEUP flag registered from health service. One more key factor is the CAP_BLOCK_SUSPEND capability of health service [2] that may affect suspend flow as well. Currently only the patch [3] is available but not accepted in upstream. [1] https://android.googlesource.com/platform/hardware/interfaces/+/master/health/utils/libhealthloop/HealthLoop.cpp#69 [2] https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1461242 [3] https://patchwork.kernel.org/project/linux-pm/list/?series=658300&state=%2A&archive=both Bug: 260537724 Change-Id: Ifea4bff2d8fdc3b7e60e7f1cb7ec29a8d3c8771a Signed-off-by: Jia-Wei Chang <jia-wei.chang@mediatek.com>