Changeset ebb1489 in mainline for uspace/drv/audio/sb16/main.c


Ignore:
Timestamp:
2024-10-13T08:23:40Z (2 months ago)
Author:
GitHub <noreply@…>
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)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/sb16/main.c

    r2a0c827c rebb1489  
    7676}
    7777
    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 */
     83static void irq_handler(ipc_call_t *call, void *arg)
     84{
     85        sb16_t *sb16_dev = (sb16_t *)arg;
    8186        sb16_interrupt(sb16_dev);
    8287}
     
    124129
    125130        rc = register_interrupt_handler(device, irq, irq_handler,
    126             &irq_code, &irq_cap);
     131            (void *)soft_state, &irq_code, &irq_cap);
    127132        if (rc != EOK) {
    128133                ddf_log_error("Failed to register irq handler: %s.",
Note: See TracChangeset for help on using the changeset viewer.