summaryrefslogtreecommitdiffstats
path: root/sound/core/control.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-10-22 12:04:46 +0200
committerTakashi Iwai <tiwai@suse.de>2014-10-22 12:11:38 +0200
commit63825f3a879ea2be569471643bb6aac73d9261f0 (patch)
tree14f3a5c5579d5036662203b98c061b4ca8492188 /sound/core/control.c
parentc37de55efa1ccf018c27b876560725ff5e9f5701 (diff)
downloadblackbird-op-linux-63825f3a879ea2be569471643bb6aac73d9261f0.tar.gz
blackbird-op-linux-63825f3a879ea2be569471643bb6aac73d9261f0.zip
ALSA: pcm: Disable mmap for known broken archs
Some architectures like PARISC is known not to support mmap properly with the DMA buffer, where dma_mmap_coherent() returns -EINVAL unconditionally. From the API POV, we should rather drop the mmap support there and expose it before the user-space tries to call mmap. The patch contains again ugly ifdef's, unfortunately, as there is no global flag indicating this. Once when such macro is defined, we can get rid of this instead. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/control.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud