mbox series

[0/2] ALSA: memalloc: Fixes for sync check and SG helper

Message ID 20220210123344.8756-1-tiwai@suse.de
Headers show
Series ALSA: memalloc: Fixes for sync check and SG helper | expand

Message

Takashi Iwai Feb. 10, 2022, 12:33 p.m. UTC
The recent changes and additions in ALSA core memalloc helpers had
incorrect usages of dma_need_sync() and the order of SG page
invalidation.  This patch corrects those.


Takashi

===

Takashi Iwai (2):
  ALSA: memalloc: Fix dma_need_sync() checks
  ALSA: memalloc: invalidate SG pages before sync

 sound/core/memalloc.c | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)