qcacmn: Set the initial wake flag on MSI resume
When the wlan driver is suspending, the last thing it does is check to see if the firmware has indicated a wakeup during the suspend process. This is done by checking the initial wakeup flag, which is set when a specific copy engine payload is received from firmware. For the new dedicated wake MSI, only the wake signal is received, no payload. When the wake MSI is toggled, set the initial wakeup flag to prevent race conditions during the suspend process. Change-Id: Id53cc7884431a437136d8dca068449bc5a25b87c CRs-Fixed: 2133469
Этот коммит содержится в:

коммит произвёл
snandini

родитель
b851d10868
Коммит
bbba9176f8
@@ -317,6 +317,9 @@ HTC_HANDLE htc_create(void *ol_sc, struct htc_init_info *pInfo,
|
||||
hif_post_init(target->hif_dev, target, &htcCallbacks);
|
||||
hif_get_default_pipe(target->hif_dev, &pEndpoint->UL_PipeID,
|
||||
&pEndpoint->DL_PipeID);
|
||||
hif_set_initial_wakeup_cb(target->hif_dev,
|
||||
pInfo->target_initial_wakeup_cb,
|
||||
pInfo->target_psoc);
|
||||
|
||||
} while (false);
|
||||
|
||||
|
Ссылка в новой задаче
Block a user