From: Jaroslav Kysela Date: Thu, 13 Dec 2007 09:36:03 +0000 (+0100) Subject: [ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=67a7be7e9c1523cec8aa10c8d744fe70f778a093;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [ALSA] PCM - fixed SNDRV_PCM_FORMAT_U24_BE silence constant Reported by Timur Tabi . Signed-off-by: Jaroslav Kysela --- diff --git a/sound/core/pcm_misc.c b/sound/core/pcm_misc.c index dd9aa51d8c82..b9ae6b37a61f 100644 --- a/sound/core/pcm_misc.c +++ b/sound/core/pcm_misc.c @@ -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,