Skip to content
Commit 0a80ca77 authored by Ciprian Marian Costea's avatar Ciprian Marian Costea Committed by Zhantao Tang
Browse files

linux-s32: pcie: Fix suspend/resume crash with no EP plugged

commit 098454a8fbe16a5b3297c169c30c4a24d2447a94 from
https://source.codeaurora.org/external/autobsps32/linux



Since we always probe the PCIe controller during Linux boot,
we should allow the suspend/resume routines to be executed with
no EP pluged, hence no linkup.
Before this patch, in 'suspend' callback we checked if we had
link-up, and in a negative case we exited the callback which lead
to a Linux crash.

Issue: ALB-7869
Signed-off-by: default avatarCiprian Marian Costea <ciprianmarian.costea@nxp.com>
Signed-off-by: default avatarZhantao Tang <zhantao.tang@windriver.com>
parent e9427ca1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment