Page MenuHomeFreeBSD

D41883.diff
No OneTemporary

D41883.diff

diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c
--- a/sys/dev/sound/pci/hda/hdac.c
+++ b/sys/dev/sound/pci/hda/hdac.c
@@ -1270,9 +1270,6 @@
/* Allocate resources */
result = hdac_mem_alloc(sc);
- if (result != 0)
- goto hdac_attach_fail;
- result = hdac_irq_alloc(sc);
if (result != 0)
goto hdac_attach_fail;
@@ -1347,6 +1344,10 @@
hdac_corb_init(sc);
hdac_rirb_init(sc);
+ result = hdac_irq_alloc(sc);
+ if (result != 0)
+ goto hdac_attach_fail;
+
/* Defer remaining of initialization until interrupts are enabled */
sc->intrhook.ich_func = hdac_attach2;
sc->intrhook.ich_arg = (void *)sc;

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 10:01 AM (21 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15767833
Default Alt Text
D41883.diff (644 B)

Event Timeline