qcacld-3.0: Use qdf_pm_system_wakeup() for abort system suspend

hdd_abort_system_suspend() function currently uses pm_wakeup_hard_event(),
which does not work because device is not initialized. Switch to using
pm_system_wakeup() instead by calling qdf_pm_system_wakeup() wrapper.

Change-Id: Ib89eca5014729f6a2103e14c6f46540d1406a5a0
CRs-Fixed: 2566770
This commit is contained in:
Alan Chen 2019-11-14 15:05:37 -08:00 • committed by nshrivas
commit e119c7dcc5

View file

@ -381,7 +381,7 @@ static int check_for_probe_defer(int ret)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0))
static void hdd_abort_system_suspend(struct device *dev)
{
pm_wakeup_hard_event(dev);
qdf_pm_system_wakeup();
}
#else
static void hdd_abort_system_suspend(struct device *dev)