Make interrupt establishment failure be noted like most other PCI drivers do.
This commit is contained in:
parent
ae52eb0e4e
commit
65734ab916
2
sys/external/bsd/drm/dist/bsd-core/drm_irq.c
vendored
2
sys/external/bsd/drm/dist/bsd-core/drm_irq.c
vendored
@ -228,6 +228,8 @@ int drm_irq_install(struct drm_device *dev)
|
||||
dev->irqh = pci_intr_establish(dev->pa.pa_pc, ih, IPL_TTY,
|
||||
drm_irq_handler_wrap, dev);
|
||||
if (!dev->irqh) {
|
||||
aprint_error_dev(dev->device,
|
||||
"couldn't establish interrupt at %s\n", istr);
|
||||
retcode = ENOENT;
|
||||
goto err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user