Commit 7924f0ca authored by Roel Kluin's avatar Roel Kluin Committed by Takashi Iwai

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: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 67d8a3c1
...@@ -1767,7 +1767,7 @@ static int snd_pcm_oss_get_formats(struct snd_pcm_oss_file *pcm_oss_file) ...@@ -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_S8 | AFMT_U16_LE |
AFMT_U16_BE | AFMT_U16_BE |
AFMT_S32_LE | AFMT_S32_BE | AFMT_S32_LE | AFMT_S32_BE |
AFMT_S24_LE | AFMT_S24_LE | AFMT_S24_LE | AFMT_S24_BE |
AFMT_S24_PACKED; AFMT_S24_PACKED;
params = kmalloc(sizeof(*params), GFP_KERNEL); params = kmalloc(sizeof(*params), GFP_KERNEL);
if (!params) if (!params)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment