[ALSA] Don't reject O_RDWR at opening PCM OSS with read/write-only device
authorTakashi Iwai <tiwai@suse.de>
Wed, 2 Aug 2006 19:12:09 +0000 (21:12 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 3 Aug 2006 13:21:31 +0000 (15:21 +0200)
commit6cb53e7ed77d429531afa8d822d59909f953a771
treeb855184d9fe5eb9f640d7de06563b82cc9e23dd3
parent264f9577a5a12de97aa85fa49dfd2788a4127e23
[ALSA] Don't reject O_RDWR at opening PCM OSS with read/write-only device

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: Jaroslav Kysela <perex@suse.cz>
sound/core/oss/pcm_oss.c