Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107189475
D41883.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.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
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)
Attached To
Mode
D41883: hdac: Defer interrupt allocation in hdac_attach()
Attached
Detach File
Event Timeline
Log In to Comment