diff options
Diffstat (limited to 'sound/core/rawmidi.c')
-rw-r--r-- | sound/core/rawmidi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c index e6ee0d81378..587ea1eb319 100644 --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c | |||
@@ -635,6 +635,7 @@ int snd_rawmidi_output_params(struct snd_rawmidi_substream *substream, | |||
635 | kfree(runtime->buffer); | 635 | kfree(runtime->buffer); |
636 | runtime->buffer = newbuf; | 636 | runtime->buffer = newbuf; |
637 | runtime->buffer_size = params->buffer_size; | 637 | runtime->buffer_size = params->buffer_size; |
638 | runtime->avail = runtime->buffer_size; | ||
638 | } | 639 | } |
639 | runtime->avail_min = params->avail_min; | 640 | runtime->avail_min = params->avail_min; |
640 | substream->active_sensing = !params->no_active_sensing; | 641 | substream->active_sensing = !params->no_active_sensing; |