Changeset ebb1489 in mainline for uspace/drv/audio/hdaudio/hdaudio.c


Ignore:
Timestamp:
2024-10-13T08:23:40Z (8 weeks 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/hdaudio/hdaudio.c

    r2a0c827c rebb1489  
    5858static errno_t hda_fun_offline(ddf_fun_t *fun);
    5959
    60 static void hdaudio_interrupt(ipc_call_t *, ddf_dev_t *);
     60static void hdaudio_interrupt(ipc_call_t *, void *);
    6161
    6262static driver_ops_t driver_ops = {
     
    266266        cap_irq_handle_t irq_cap;
    267267        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);
    269269        if (rc != EOK) {
    270270                ddf_msg(LVL_ERROR, "Failed registering interrupt handler: %s",
     
    377377}
    378378
    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 */
     384static void hdaudio_interrupt(ipc_call_t *icall, void *arg)
     385{
     386        hda_t *hda = (hda_t *)arg;
    382387
    383388        if (0)
Note: See TracChangeset for help on using the changeset viewer.