Revert "ALSA: pcm: Use SG-buffer only when direct DMA is available"
authorTakashi Iwai <tiwai@suse.de>
Fri, 17 Jul 2020 06:41:30 +0000 (08:41 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Jul 2020 06:42:03 +0000 (08:42 +0200)
commit7d50b295c4af16f814ee82369c4a234df5228801
tree36d8b06d99a3093404cc5a7b4610adabbfaa262a
parent52bedfbd45eb55f914497bef4a74b0d73f8e1957
Revert "ALSA: pcm: Use SG-buffer only when direct DMA is available"

This reverts commit 3ad796cbc36a ("ALSA: pcm: Use SG-buffer only when
direct DMA is available") also the modification commit 467fd0e82b62
("ALSA: pcm: Fix build error on m68k and others").

Poking the DMA internal helper is a layer violation, so we should
avoid that.  Meanwhile the actual bug has been addressed by the
Kconfig fix in commit dbed452a078d ("dma-pool: decouple DMA_REMAP from
DMA_COHERENT_POOL"), so we can live without this hack.

Link: https://lore.kernel.org/r/20200717064130.22957-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_memory.c