1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

not only used on exit, also on failed init

This commit is contained in:
internal 2022-10-25 19:29:38 +02:00
parent 42a0b65235
commit 29cc552a6b

View File

@ -84,7 +84,7 @@ int pci_irq_vector(struct pci_dev *dev, unsigned int nr)
/****************************************************************************/ /****************************************************************************/
/****************************************************************************/ /****************************************************************************/
static void __devexit ddb_irq_disable(struct ddb *dev) static void ddb_irq_disable(struct ddb *dev)
{ {
if (dev->link[0].info->regmap->irq_version == 2) { if (dev->link[0].info->regmap->irq_version == 2) {
ddbwritel(dev, 0x00000000, INTERRUPT_V2_CONTROL); ddbwritel(dev, 0x00000000, INTERRUPT_V2_CONTROL);
@ -114,7 +114,7 @@ static void __devexit ddb_msi_exit(struct ddb *dev)
#endif #endif
} }
static void __devexit ddb_irq_exit(struct ddb *dev) static void ddb_irq_exit(struct ddb *dev)
{ {
ddb_irq_disable(dev); ddb_irq_disable(dev);
if (dev->msi == 2) if (dev->msi == 2)