summaryrefslogtreecommitdiffstats
path: root/sound/core/seq
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-08-08 10:00:34 +0200
committerTakashi Iwai <tiwai@suse.de>2021-08-08 10:01:33 +0200
commit9732c148d0ced6dd0c5feb0da91f979c6beb5c93 (patch)
treede6b319f437a7cb2106d7e92ed72b3df2474b2ad /sound/core/seq
parentdf8bcf36be2755a39c2f1bcc1ea3c18329c29931 (diff)
downloadlinux-stable-9732c148d0ced6dd0c5feb0da91f979c6beb5c93.tar.gz
linux-stable-9732c148d0ced6dd0c5feb0da91f979c6beb5c93.tar.bz2
linux-stable-9732c148d0ced6dd0c5feb0da91f979c6beb5c93.zip
ALSA: memalloc: Fix mmap of SG-buffer with WC pages
The code refactoring to move the WC page handling into the common memalloc layer caused a breakage for HD-audio HDMI. I overlooked that the driver is using the SG-buffer, which isn't covered by the patch. This patch adds the mmap workaround for WC pages to SG-buffer handler. A caveat is that it falls back to the default handler by returning an error after setting the pgprot, so it won't work in all cases but merely for PCM (which is currently the only use case). Fixes: 623c10108338 ("ALSA: memalloc: Fix pgprot for WC mmap on x86") Reported-and-tested-by: Andy Lavr <andy.lavr@gmail.com> Link: https://lore.kernel.org/r/20210808080034.20337-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/seq')
0 files changed, 0 insertions, 0 deletions