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:
Naman Padhiar <npadhiar@codeaurora.org>
Loading
Please register or sign in to comment