diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-02-10 13:33:44 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-02-10 13:36:53 +0100 |
commit | 3e16dc50d77dc3494275a241fac250c94bf45206 (patch) | |
tree | b296cf26d2dfa803fad63b13adc7406c63f3aeed /sound/usb | |
parent | 8e1741c658996a16bd096e077dae0da2460a997f (diff) |
ALSA: memalloc: invalidate SG pages before sync
It seems that calling invalidate_kernel_vmap_range() is more correct
to be called before dma_sync_*(), judging from the other thread:
https://lore.kernel.org/all/20220111085958.GA22795@lst.de/
Although this won't matter much in practice, let's fix the call order
for consistency.
Fixes: a25684a95646 ("ALSA: memalloc: Support for non-contiguous page allocation")
Reported-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220210123344.8756-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions