From: Clemens Ladisch Date: Mon, 21 Nov 2005 06:31:31 +0000 (+0100) Subject: [ALSA] rawmidi: adjust runtime->avail when changing output buffer size X-Git-Tag: v2.6.16-rc1~474^2~22^2~3^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b98ea4791892399d8c23c93e117567eeff38887;p=pandora-kernel.git [ALSA] rawmidi: adjust runtime->avail when changing output buffer size Modules: RawMidi Midlevel When the output buffer size is changed, runtime->avail must be adjusted to the new size; otherwise, draining of a bigger buffer would appear to fail because avail does not reach buffer_size. Signed-off-by: Clemens Ladisch --- Reading git-diff-tree failed