diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-02-04 18:14:55 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-04 18:18:03 +0100 |
commit | 7924f0cadcf52cb316d6eca60a6ae3fc9e42b465 (patch) | |
tree | 04189b579d60b49983ee3c258ec59f630f057cbc | |
parent | 67d8a3c1221bc883c821e7695ba6d327a5d6f2af (diff) | |
download | op-kernel-dev-7924f0cadcf52cb316d6eca60a6ae3fc9e42b465.zip op-kernel-dev-7924f0cadcf52cb316d6eca60a6ae3fc9e42b465.tar.gz |
ALSA: pcm_oss: AFMT_S24_LE is set twice in return value
AFMT_S24_LE is set twice in return value
vi sound/core/oss/pcm_oss.c +640
#define AFMT_S24_LE 0x00008000
#define AFMT_S24_BE 0x00010000
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/core/oss/pcm_oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c index e178366..0a1798e 100644 --- a/sound/core/oss/pcm_oss.c +++ b/sound/core/oss/pcm_oss.c @@ -1767,7 +1767,7 @@ static int snd_pcm_oss_get_formats(struct snd_pcm_oss_file *pcm_oss_file) AFMT_S8 | AFMT_U16_LE | AFMT_U16_BE | AFMT_S32_LE | AFMT_S32_BE | - AFMT_S24_LE | AFMT_S24_LE | + AFMT_S24_LE | AFMT_S24_BE | AFMT_S24_PACKED; params = kmalloc(sizeof(*params), GFP_KERNEL); if (!params) |