diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-10-21 09:09:38 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-10 16:20:43 +0100 |
commit | 8579d2d7779d7ff41ea2a0183015e0e5038f1043 (patch) | |
tree | a194af444f11846d078ca3fb87bdb61f5188464e /drivers | |
parent | dede17b8e931eeaa38b0288e8d545d558d904942 (diff) |
sound: rawmidi: fix double init when opening MIDI device with O_APPEND
Commit 9a1b64caac82aa02cb74587ffc798e6f42c6170a in 2.6.30 moved the
substream initialization code to where it would be executed every time
the substream is opened.
This had the consequence that any further opening would drop and leak
the data in the existing buffer, and that the device driver's open
callback would be called multiple times, unexpectedly.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions