mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
bb2b08b141
commit
e119c7dcc5
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue