Changeset df96271 in mainline


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

Test the value returned from dmamem_map_anonymous

File:
1 edited

Legend:

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

    r2021428 rdf96271  
    284284            hda->ctl->ok64bit ? 0 : DMAMEM_4GiB, AS_AREA_READ | AS_AREA_WRITE, 0,
    285285            &hda->ctl->rirb_phys, &hda->ctl->rirb_virt);
     286        if (rc != EOK) {
     287                hda->ctl->rirb_virt = NULL;
     288                ddf_msg(LVL_NOTE, "Failed allocating DMA memory for RIRB");
     289                goto error;
     290        }
    286291
    287292        ddf_msg(LVL_NOTE, "Set RIRB base registers");
Note: See TracChangeset for help on using the changeset viewer.