WSL2-Linux-Kernel/sound/usb/usx2y
Takashi Iwai ac536a848a ALSA: us122l: Fix pcm_usb_stream mmapping regression
The pcm_usb_stream plugin requires the mremap explicitly for the read
buffer, as it expands itself once after reading the required size.
But the commit [314e51b9: mm: kill vma flag VM_RESERVED and
mm->reserved_vm counter] converted blindly to a combination of
VM_DONTEXPAND | VM_DONTDUMP like other normal drivers, and this
resulted in the failure of mremap().

For fixing this regression, we need to remove VM_DONTEXPAND for the
read-buffer mmap.

Reported-and-tested-by: James Miller <jamesstewartmiller@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2013-10-15 11:35:54 +02:00
..
Makefile ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
us122l.c ALSA: us122l: Fix pcm_usb_stream mmapping regression 2013-10-15 11:35:54 +02:00
us122l.h ALSA: snd-usb-us122l: add product IDs of US-122MKII and US-144MKII 2009-12-08 12:56:50 +01:00
usX2Yhwdep.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
usX2Yhwdep.h [ALSA] Remove xxx_t typedefs: USB-USX2Y 2006-01-03 12:19:56 +01:00
usb_stream.c ALSA: USB: adjust for changed 3.8 USB API 2013-04-29 10:57:35 +02:00
usb_stream.h ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
usbus428ctldefs.h [ALSA] Remove xxx_t typedefs: USB-USX2Y 2006-01-03 12:19:56 +01:00
usbusx2y.c ALSA: usx2y: remove an unneeded check 2013-07-29 13:59:47 +02:00
usbusx2y.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
usbusx2yaudio.c ALSA: snd-usb-usx2y: remove bogus frame checks 2013-10-02 17:58:01 +02:00
usx2y.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
usx2yhwdeppcm.c ALSA: snd-usb-usx2y: remove bogus frame checks 2013-10-02 17:58:01 +02:00
usx2yhwdeppcm.h ALSA: sound/usb/usx2y: fix sparse warning: Should it be static? 2009-02-26 09:57:17 +01:00