Commit 6d4294ae authored by Jialin Zhang's avatar Jialin Zhang
Browse files

pciehp: clear p_slot->work.data after powering off a slot

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8Z2JH



--------------------------------

Powering off nvme device may cause a Data Link Layer State Changed event.
This event results in re-enabling the device. In order to fix this issue,
clear out the Presence Detect Changed and Data Link Layer State Changed
events in p_slot->work.data.

Fixes: 8f7e5053 ("pciehp: do not wake up irq_thread for sysfs operation")
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parent ce7ba9ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment