Commit 40729094 authored by Naman Padhiar's avatar Naman Padhiar Committed by Gerrit - the friendly Code Review server
Browse files

icnss2: Check for PD restart complete before pm resume



Check for PD restart complete before calling exit power save
QMI to FW. Need this protection in case of SSR with runtime PM.
When platform driver receive FW_READY it calls driver shutdown
and as part of shutdown it calls runtime pm resume and in platform
driver callback it call exit power save QMI req to FW but as FW is
still in FW_READY state so FW rejects this QMI req. So protect
sending exit power save QMI request unless PD restart is not
completed.

Change-Id: Id41dd005269169f7dcd5907852dd6b1cd7a2d276
Signed-off-by: default avatarNaman Padhiar <npadhiar@codeaurora.org>
parent 910b77c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment