public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OSS: duplicate AFMT_S24_LE
@ 2008-08-19  3:43 roel kluin
  0 siblings, 0 replies; only message in thread
From: roel kluin @ 2008-08-19  3:43 UTC (permalink / raw)
  To: linux-kernel

untested, is it correct?
---
duplicate AFMT_S24_LE

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
---
diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c
index 4c601b1..b27ca27 100644
--- a/sound/core/oss/pcm_oss.c
+++ b/sound/core/oss/pcm_oss.c
@@ -1755,7 +1755,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)

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-18 21:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-19  3:43 [PATCH] OSS: duplicate AFMT_S24_LE roel kluin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox