summaryrefslogtreecommitdiff
path: root/Documentation/cpu-freq
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-10-21 11:12:26 +0400
committerTakashi Iwai <tiwai@suse.de>2009-11-10 18:32:10 +0300
commit91d12c485b8949cce6c13ab641147c5bc86ce8b9 (patch)
tree2f5d3b031e1a3920561f514f5387890f7b4e1419 /Documentation/cpu-freq
parent3f225c07c7d0559f65b41250edd01a577fdba426 (diff)
downloadlinux-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