]> 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)
commitd25d7e904da382b36d4dc3ffdbaff022d741c854
tree36d8b06d99a3093404cc5a7b4610adabbfaa262a
parent59bda2b24d711b8c505a5fa13636d6de34ba18f5
Revert "ALSA: pcm: Use SG-buffer only when direct DMA is available"

This reverts commit 60972d3820cc ("ALSA: pcm: Use SG-buffer only when
direct DMA is available") also the modification commit 1e9c8824e48c
("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 6386d0a372d8 ("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