Changeset ebb1489 in mainline for uspace/drv/audio/hdaudio/hdaudio.c
- Timestamp:
- 2024-10-13T08:23:40Z (8 weeks 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/hdaudio/hdaudio.c
r2a0c827c rebb1489 58 58 static errno_t hda_fun_offline(ddf_fun_t *fun); 59 59 60 static void hdaudio_interrupt(ipc_call_t *, ddf_dev_t*);60 static void hdaudio_interrupt(ipc_call_t *, void *); 61 61 62 62 static driver_ops_t driver_ops = { … … 266 266 cap_irq_handle_t irq_cap; 267 267 rc = register_interrupt_handler(dev, res.irqs.irqs[0], 268 hdaudio_interrupt, &irq_code, &irq_cap);268 hdaudio_interrupt, (void *)hda, &irq_code, &irq_cap); 269 269 if (rc != EOK) { 270 270 ddf_msg(LVL_ERROR, "Failed registering interrupt handler: %s", … … 377 377 } 378 378 379 static void hdaudio_interrupt(ipc_call_t *icall, ddf_dev_t *dev) 380 { 381 hda_t *hda = (hda_t *)ddf_dev_data_get(dev); 379 /** HD Audio interrupt handler. 380 * 381 * @param icall IRQ event notification 382 * @param arg Argument (hda_t *) 383 */ 384 static void hdaudio_interrupt(ipc_call_t *icall, void *arg) 385 { 386 hda_t *hda = (hda_t *)arg; 382 387 383 388 if (0)
Note:
See TracChangeset
for help on using the changeset viewer.