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(-) -- 2.31.1