Skip to content

Commit f93b697

Browse files
vijendarmukundavinodkoul
authored andcommitted
soundwire: amd: cancel pending slave status handling workqueue during remove sequence
During remove sequence, cancel the pending slave status update workqueue. Signed-off-by: Vijendar Mukunda <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 0383734 commit f93b697

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/soundwire/amd_manager.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,7 @@ static void amd_sdw_manager_remove(struct platform_device *pdev)
10741074
int ret;
10751075

10761076
pm_runtime_disable(&pdev->dev);
1077+
cancel_work_sync(&amd_manager->amd_sdw_work);
10771078
amd_disable_sdw_interrupts(amd_manager);
10781079
sdw_bus_master_delete(&amd_manager->bus);
10791080
ret = amd_disable_sdw_manager(amd_manager);

0 commit comments

Comments
 (0)