Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8e05464c authored by Ke Huang's avatar Ke Huang
Browse files

cnss2: Fix suspend and resume issue for rome on sa415m



There is pci link up fail and cause 100ms timeout and make the delay
resume not match the suspend and resume KPI. This issue is caused by
the wrong operation to up the pci link during resume when no wlan
driver loaded. In current design, the pci link is set as suspend after
cnss initialization, it is only set to resume when wlan driver load,
but in this case, there is no driver loaded, so it not need to up the
pci link.
For the driver loaded case of suspend and resume, the rome can not
enter suspend because the function cnss_pci_set_mhi_state() will always
return error if the macro CONFIG_MHI_BUS not defined, so add one
judgement to make it enter suspend in this case for rome(qca6174).

Change-Id: I6d47a32d549c2f04a51f776acad70067028aaea9
Signed-off-by: default avatarKe Huang <keh@codeaurora.org>
parent 65bacf2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment