diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-09-09 15:47:43 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-09-09 15:48:27 +0200 |
commit | 28fbfaf6bd1df94cccf1a5c009fe26b9bdccc2b6 (patch) | |
tree | 796f51a69a26eca18522b59b731296f9b9ddfc05 /lib/crypto/mpi/mpi-add.c | |
parent | 0a131eb8551da832e3c04b385305f7d79e5edb89 (diff) |
ALSA: hda: Use non-SG allocation for the communication buffers
The azx_bus->dma_type is referred only for allocating the
communication buffers like CORB/RIRB, and the allocation size is
small. Hence it doesn't have to be S/G buffer allocation, which is an
obvious overkill. Use the standard SNDRV_DMA_TYPE_DEV_WC instead.
This was changed to SNDRV_DMA_TYPE_DEV_WC_SG in the commit
37137ec26c2c ("ALSA: hda: Once again fix regression of page
allocations with IOMMU") as a workaround for IOMMU-backed
allocations. But this is no longer needed since the allocation with
SNDRV_DMA_TYPE_DEV_WC itself was fixed in the commit 9c27301342a5
("ALSA: memalloc: Use DMA API for x86 WC page allocations, too").
So this patch reverts the previous workaround in this piece of code.
Link: https://patch.msgid.link/20240909134744.25426-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions