]> git.hungrycats.org Git - linux/commit
[sound i810] silently ignore invalid PCM_ENABLE_xxx bits from userland
authorGary Wong <gtw@cs.bu.edu>
Tue, 11 May 2004 09:31:42 +0000 (05:31 -0400)
committerDavid S. Miller <davem@nuts.davemloft.net>
Tue, 11 May 2004 09:31:42 +0000 (05:31 -0400)
commit81da67b3713b53ad7fcbe7110cd531f1e00de1d2
treef643dcb9bb8857a988e8b8195bfee3658480f8d9
parentd75705b8f16620339e8768cd7652b6165e2c81ff
[sound i810] silently ignore invalid PCM_ENABLE_xxx bits from userland

We must guarantee that struct file's ->f_mode agrees with
PCM_ENABLE_xxx bits from userland OSS apps.  Other drivers silently
ignore invalid bits, so we follow their lead.
sound/oss/i810_audio.c