Skip to content
Commit 03486830 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: memalloc: Don't align the size to power-of-two



The size passed to dma_alloc_coherent() doesn't have to be aligned
with power-of-two, rather it should be the raw size.  As a minor
optimization, remove the size adjustment in the current code.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b8e13154
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment