Changeset 13db2044 in mainline


Ignore:
Timestamp:
2018-05-13T12:22:31Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11b285d
Parents:
f9597866
Message:

Fix unmapping of virtual address of DMA memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/hdactl.c

    rf9597866 r13db2044  
    224224error:
    225225        if (hda->ctl->corb_virt != NULL) {
    226                 dmamem_unmap_anonymous(&hda->ctl->corb_virt);
     226                dmamem_unmap_anonymous(hda->ctl->corb_virt);
    227227                hda->ctl->corb_virt = NULL;
    228228        }
     
    240240
    241241        if (hda->ctl->corb_virt != NULL)
    242                 dmamem_unmap_anonymous(&hda->ctl->corb_virt);
     242                dmamem_unmap_anonymous(hda->ctl->corb_virt);
    243243}
    244244
     
    319319error:
    320320        if (hda->ctl->rirb_virt != NULL) {
    321                 dmamem_unmap_anonymous(&hda->ctl->rirb_virt);
     321                dmamem_unmap_anonymous(hda->ctl->rirb_virt);
    322322                hda->ctl->rirb_virt = NULL;
    323323        }
     
    336336
    337337        if (hda->ctl->rirb_virt != NULL)
    338                 dmamem_unmap_anonymous(&hda->ctl->rirb_virt);
     338                dmamem_unmap_anonymous(hda->ctl->rirb_virt);
    339339}
    340340
Note: See TracChangeset for help on using the changeset viewer.