diff options
Diffstat (limited to 'sound/core/pcm_memory.c')
-rw-r--r-- | sound/core/pcm_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_memory.c b/sound/core/pcm_memory.c index ae33e456708c..4b5356a10315 100644 --- a/sound/core/pcm_memory.c +++ b/sound/core/pcm_memory.c | |||
@@ -201,7 +201,7 @@ static inline void preallocate_info_init(struct snd_pcm_substream *substream) | |||
201 | if ((entry = snd_info_create_card_entry(substream->pcm->card, "prealloc", substream->proc_root)) != NULL) { | 201 | if ((entry = snd_info_create_card_entry(substream->pcm->card, "prealloc", substream->proc_root)) != NULL) { |
202 | entry->c.text.read = snd_pcm_lib_preallocate_proc_read; | 202 | entry->c.text.read = snd_pcm_lib_preallocate_proc_read; |
203 | entry->c.text.write = snd_pcm_lib_preallocate_proc_write; | 203 | entry->c.text.write = snd_pcm_lib_preallocate_proc_write; |
204 | entry->mode |= S_IWUSR; | 204 | entry->mode |= 0200; |
205 | entry->private_data = substream; | 205 | entry->private_data = substream; |
206 | if (snd_info_register(entry) < 0) { | 206 | if (snd_info_register(entry) < 0) { |
207 | snd_info_free_entry(entry); | 207 | snd_info_free_entry(entry); |