forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
67d8a3c122
commit
7924f0cadc
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user