diff options
| author | Damien Le Moal <[email protected]> | 2024-10-17 01:06:48 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2024-11-04 21:30:00 +0000 |
| commit | 97110d42680e692020154f9aa89298c038196055 (patch) | |
| tree | 6dafaf12b48961bdcff76f0c3cd27ae89ef294f4 /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | PCI: dwc: endpoint: Implement the pci_epc_ops::align_addr() operation (diff) | |
| download | kernel-97110d42680e692020154f9aa89298c038196055.tar.gz kernel-97110d42680e692020154f9aa89298c038196055.zip | |
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/[email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
