]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2bb47f449447acb05451050529f7c6d4b91d478
tree36d8b06d99a3093404cc5a7b4610adabbfaa262a
parent52117d6e80f5780fca37aa702991b8d4b9bd0e21
Revert "ALSA: pcm: Use SG-buffer only when direct DMA is available"

This reverts commit 46920b9f6ad8 ("ALSA: pcm: Use SG-buffer only when
direct DMA is available") also the modification commit 05239164fb11
("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 16ccc9808396 ("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