summaryrefslogtreecommitdiffstats
path: root/sound/synth
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-11-08 16:10:59 +0100
committerTakashi Iwai <tiwai@suse.de>2021-11-09 07:14:22 +0100
commitad4f93ca41388f36ec40ec9c1d97b52177f25fa3 (patch)
treeddbd7b8878f2693f3aef588f817ce29c46895f3f /sound/synth
parent43d35ccc36dad52377dd349b2e3ea803b72c3906 (diff)
downloadlinux-stable-ad4f93ca41388f36ec40ec9c1d97b52177f25fa3.tar.gz
linux-stable-ad4f93ca41388f36ec40ec9c1d97b52177f25fa3.tar.bz2
linux-stable-ad4f93ca41388f36ec40ec9c1d97b52177f25fa3.zip
ALSA: memalloc: Use proper SG helpers for noncontig allocations
The recently introduced non-contiguous page allocation support helpers are using the simplified code to calculate the page and DMA address based on the vmalloc helpers, but this isn't quite right as the vmap is valid only for the direct DMA. This patch corrects those accessors to use the proper SG helpers instead. Fixes: a25684a95646 ("ALSA: memalloc: Support for non-contiguous page allocation") Tested-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Link: https://lore.kernel.org/r/20211108151059.31898-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions