Skip to content
Commit 74c64efa authored by Robin Gong's avatar Robin Gong Committed by Takashi Iwai
Browse files

ALSA: core: memalloc: add page alignment for iram



Since mmap for userspace is based on page alignment, add page alignment
for iram alloc from pool, otherwise, some good data located in the same
page of dmab->area maybe touched wrongly by userspace like pulseaudio.

Signed-off-by: default avatarRobin Gong <yibin.gong@nxp.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/1608221747-3474-1-git-send-email-yibin.gong@nxp.com


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 150927c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment