]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant
authorJaroslav Kysela <perex@perex.cz>
Thu, 13 Dec 2007 09:36:03 +0000 (10:36 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:31 +0000 (17:29 +0100)
Reported by Timur Tabi <timur@freescale.com> .

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/pcm_misc.c

index dd9aa51d8c820b0ecfcf1d6999daf50008a41427..b9ae6b37a61f6d03b89b85d16c94b58cde8fa594 100644 (file)
@@ -75,7 +75,7 @@ static struct pcm_format_data pcm_formats[SNDRV_PCM_FORMAT_LAST+1] = {
        },
        [SNDRV_PCM_FORMAT_U24_BE] = {
                .width = 24, .phys = 32, .le = 0, .signd = 0,
-               .silence = { 0x80, 0x00, 0x00 },
+               .silence = { 0x00, 0x80, 0x00, 0x00 },
        },
        [SNDRV_PCM_FORMAT_S32_LE] = {
                .width = 32, .phys = 32, .le = 1, .signd = 1,