Changes in uspace/drv/audio/sb16/main.c [cccd60c3:071a1ddb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/main.c
rcccd60c3 r071a1ddb 76 76 } 77 77 78 static void irq_handler(ipc_call id_t iid, ipc_call_t *call, ddf_dev_t *dev)78 static void irq_handler(ipc_call_t *call, ddf_dev_t *dev) 79 79 { 80 80 sb16_t *sb16_dev = ddf_dev_data_get(dev); … … 123 123 }; 124 124 125 irq_cap = register_interrupt_handler(device, irq, irq_handler, 126 &irq_code); 127 if (irq_cap < 0) { 128 rc = irq_cap; 125 rc = register_interrupt_handler(device, irq, irq_handler, 126 &irq_code, &irq_cap); 127 if (rc != EOK) { 129 128 ddf_log_error("Failed to register irq handler: %s.", 130 129 str_error(rc));
Note:
See TracChangeset
for help on using the changeset viewer.