forked from MIrrors/gasket-driver
staging: gasket: interrupt: remove PCI-MSIX-specific status check
Devices not using MSIX don't use the msix_initialized field, don't require it to be set in the interrupt system status check. The general check for interrupts configured that follows can cover both MSIX and device-managed interrupts. Change-Id: I83a86cb4db7cea30c30377dd82b033ef372d69c0 Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
@@ -488,11 +488,6 @@ int gasket_interrupt_system_status(struct gasket_dev *gasket_dev)
|
||||
return GASKET_STATUS_DEAD;
|
||||
}
|
||||
|
||||
if (!gasket_dev->interrupt_data->msix_configured) {
|
||||
dev_dbg(gasket_dev->dev, "Interrupt not initialized\n");
|
||||
return GASKET_STATUS_LAMED;
|
||||
}
|
||||
|
||||
if (gasket_dev->interrupt_data->num_configured !=
|
||||
gasket_dev->interrupt_data->num_interrupts) {
|
||||
dev_dbg(gasket_dev->dev,
|
||||
|
||||
Reference in New Issue
Block a user