File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1209,6 +1209,7 @@ static int __maybe_unused amd_suspend(struct device *dev)
1209
1209
}
1210
1210
1211
1211
if (amd_manager -> power_mode_mask & AMD_SDW_CLK_STOP_MODE ) {
1212
+ cancel_work_sync (& amd_manager -> amd_sdw_work );
1212
1213
amd_sdw_wake_enable (amd_manager , false);
1213
1214
if (amd_manager -> acp_rev >= ACP70_PCI_REV_ID ) {
1214
1215
ret = amd_sdw_host_wake_enable (amd_manager , false);
@@ -1219,6 +1220,7 @@ static int __maybe_unused amd_suspend(struct device *dev)
1219
1220
if (ret )
1220
1221
return ret ;
1221
1222
} else if (amd_manager -> power_mode_mask & AMD_SDW_POWER_OFF_MODE ) {
1223
+ cancel_work_sync (& amd_manager -> amd_sdw_work );
1222
1224
amd_sdw_wake_enable (amd_manager , false);
1223
1225
if (amd_manager -> acp_rev >= ACP70_PCI_REV_ID ) {
1224
1226
ret = amd_sdw_host_wake_enable (amd_manager , false);
You can’t perform that action at this time.
0 commit comments