OSDN Git Service

cnss2: fix PCIe D3hot when suspending link
authorjiad <jiad@codeaurora.org>
Thu, 16 Nov 2017 08:54:09 +0000 (16:54 +0800)
committerjiad <jiad@codeaurora.org>
Fri, 17 Nov 2017 01:35:25 +0000 (09:35 +0800)
commit1857b211dfa4b114b1c24e7207cb650dcb338d8a
tree0b3ebf0918800737fc844ff1f44a9d6a178d31ab
parentae2f6cb5ada42a3e3da6182ac3092007f5a319d8
cnss2: fix PCIe D3hot when suspending link

When doing WLAN SSR tests on Rome PCIe platform, system hang
is observed. After debugging, setting D3hot to PCIe link when
suspending leads to the hang.

Setting D3hot is a new change, which is added for Napier platform.
But this code path shares with legacy Rome platform. In previous
implementations for Rome PCIe platforms, setting D3hot to link
is not needed.

Fix is to set D3hot for Napier specific platforms.

Change-Id: Ia6bcb1b898204c0a8fd63355dd1f0808021182c4
CRs-Fixed: 2145090
Signed-off-by: Jia Ding <jiad@codeaurora.org>
drivers/net/wireless/cnss2/pci.c