diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-10-21 11:12:26 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-10 18:32:10 +0300 |
commit | 91d12c485b8949cce6c13ab641147c5bc86ce8b9 (patch) | |
tree | 2f5d3b031e1a3920561f514f5387890f7b4e1419 /Documentation/cpu-freq | |
parent | 3f225c07c7d0559f65b41250edd01a577fdba426 (diff) | |
download | linux-91d12c485b8949cce6c13ab641147c5bc86ce8b9.tar.xz |
sound: rawmidi: fix opened substreams count
The substream_opened field is to count the number of opened substreams,
not the number of times that any substreams have been opened.
Furthermore, all substreams being opened does not imply that the next
open would fail, due to the possibility of O_APPEND. With this wrong
check, opening a substream multiple times would succeed only if the
device had more unopened substreams.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/cpu-freq')
0 files changed, 0 insertions, 0 deletions