Changeset 4a90582 in mainline for uspace/drv/audio/sb16/dsp.c


Ignore:
Timestamp:
2013-09-12T20:12:51Z (11 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
695b6ff
Parents:
69f5f19
Message:

allocate the DMA buffer with proper alignment
this finally unbreaks Sound Blaster 16

File:
1 edited

Legend:

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

    r69f5f19 r4a90582  
    180180        void *buffer = NULL;
    181181       
    182         int ret = dmamem_map_anonymous(size, DMAMEM_16MiB,
     182        int ret = dmamem_map_anonymous(size, DMAMEM_16MiB | 0x0000ffff,
    183183            AS_AREA_WRITE | AS_AREA_READ, 0, &pa, &buffer);
    184184        if (ret != EOK) {
Note: See TracChangeset for help on using the changeset viewer.