Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142421202
D41883.id127449.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
644 B
Referenced Files
None
Subscribers
None
D41883.id127449.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 20, 8:10 PM (17 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27773506
Default Alt Text
D41883.id127449.diff (644 B)
Attached To
Mode
D41883: hdac: Defer interrupt allocation in hdac_attach()
Attached
Detach File
Event Timeline
Log In to Comment