git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ALSA] sound/isa/gus/interwave.c: check kmalloc() return value
[pandora-kernel.git]
/
sound
/
core
/
pcm_compat.c
diff --git
a/sound/core/pcm_compat.c
b/sound/core/pcm_compat.c
index
2b8aab6
..
2b53979
100644
(file)
--- a/
sound/core/pcm_compat.c
+++ b/
sound/core/pcm_compat.c
@@
-478,7
+478,7
@@
static long snd_pcm_ioctl_compat(struct file *file, unsigned int cmd, unsigned l
* mmap of PCM status/control records because of the size
* incompatibility.
*/
* mmap of PCM status/control records because of the size
* incompatibility.
*/
-
substream->no_mmap_ctrl
= 1;
+
pcm_file->no_compat_mmap
= 1;
switch (cmd) {
case SNDRV_PCM_IOCTL_PVERSION:
switch (cmd) {
case SNDRV_PCM_IOCTL_PVERSION: