File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -1040,14 +1040,6 @@ static int azx_suspend(struct device *dev)
1040
1040
chip = card -> private_data ;
1041
1041
bus = azx_bus (chip );
1042
1042
azx_shutdown_chip (chip );
1043
- if (bus -> irq >= 0 ) {
1044
- free_irq (bus -> irq , chip );
1045
- bus -> irq = -1 ;
1046
- chip -> card -> sync_irq = -1 ;
1047
- }
1048
-
1049
- if (chip -> msi )
1050
- pci_disable_msi (chip -> pci );
1051
1043
1052
1044
trace_azx_suspend (chip );
1053
1045
return 0 ;
@@ -1062,11 +1054,6 @@ static int __maybe_unused azx_resume(struct device *dev)
1062
1054
return 0 ;
1063
1055
1064
1056
chip = card -> private_data ;
1065
- if (chip -> msi )
1066
- if (pci_enable_msi (chip -> pci ) < 0 )
1067
- chip -> msi = 0 ;
1068
- if (azx_acquire_irq (chip , 1 ) < 0 )
1069
- return - EIO ;
1070
1057
1071
1058
__azx_runtime_resume (chip );
1072
1059
You can’t perform that action at this time.
0 commit comments