summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc/pcie-designware-ep.c
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2024-10-17 10:06:48 +0900
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2024-11-04 21:30:00 +0000
commit97110d42680e692020154f9aa89298c038196055 (patch)
tree6dafaf12b48961bdcff76f0c3cd27ae89ef294f4 /drivers/pci/controller/dwc/pcie-designware-ep.c
parente73ea1c2d4d8f7ba5daaf7aa51171f63cf79bcd8 (diff)
PCI: endpoint: test: Synchronously cancel command handler work
Use cancel_delayed_work_sync() in pci_epf_test_epc_deinit() to ensure that the command handler is really stopped before proceeding with DMA and BAR cleanup. The same change is also done in pci_epf_test_link_down() to ensure that the link down handling completes with the command handler fully stopped. Link: https://lore.kernel.org/r/20241017010648.189889-1-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Frank Li <Frank.Li@nxp.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-designware-ep.c')
0 files changed, 0 insertions, 0 deletions