]> git.hungrycats.org Git - linux/commit
ALSA: Don't reject O_RDWR at opening PCM OSS
authorTakashi Iwai <tiwai@suse.de>
Fri, 4 Aug 2006 18:37:33 +0000 (20:37 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 7 Aug 2006 03:52:16 +0000 (20:52 -0700)
commita2f4638207875fb0a164cd39f16174ef794a1906
treea9a3e1ba188a7b0fffb7e849847f157923ff7caf
parent2181f8c0a96a7b0e29151330c2fae6e18831ed3a
ALSA: Don't reject O_RDWR at opening PCM OSS

Accept O_RDWR at opening a PCM OSS device that is read- or write-only,
just for the compatibility with the behavior of older versions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/core/oss/pcm_oss.c