Changeset ebb1489 in mainline for uspace/drv/audio/sb16/main.c
- Timestamp:
- 2024-10-13T08:23:40Z (2 months ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/sb16/main.c
r2a0c827c rebb1489 76 76 } 77 77 78 static void irq_handler(ipc_call_t *call, ddf_dev_t *dev) 79 { 80 sb16_t *sb16_dev = ddf_dev_data_get(dev); 78 /** SB16 IRQ handler. 79 * 80 * @param call IRQ event notification 81 * @param arg Argument (sb16_t *) 82 */ 83 static void irq_handler(ipc_call_t *call, void *arg) 84 { 85 sb16_t *sb16_dev = (sb16_t *)arg; 81 86 sb16_interrupt(sb16_dev); 82 87 } … … 124 129 125 130 rc = register_interrupt_handler(device, irq, irq_handler, 126 &irq_code, &irq_cap);131 (void *)soft_state, &irq_code, &irq_cap); 127 132 if (rc != EOK) { 128 133 ddf_log_error("Failed to register irq handler: %s.",
Note:
See TracChangeset
for help on using the changeset viewer.