kernel: refresh patches
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-3.14 / 0048-ASoc-Don-t-report-S24_LE-support-it-produces-white-n.patch
1 From ea4cb320f037ddad635159ad0d34a4e7993a252b Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Wed, 12 Mar 2014 11:46:34 +0000
4 Subject: [PATCH 48/54] ASoc: Don't report S24_LE support, it produces white
5 noise with xbmc
6
7 ---
8 sound/soc/bcm/bcm2708-i2s.c | 2 +-
9 sound/soc/codecs/pcm5102a.c | 2 +-
10 2 files changed, 2 insertions(+), 2 deletions(-)
11
12 --- a/sound/soc/bcm/bcm2708-i2s.c
13 +++ b/sound/soc/bcm/bcm2708-i2s.c
14 @@ -718,7 +718,7 @@ static struct snd_soc_dai_driver bcm2708
15 .channels_max = 2,
16 .rates = SNDRV_PCM_RATE_8000_192000,
17 .formats = SNDRV_PCM_FMTBIT_S16_LE
18 - | SNDRV_PCM_FMTBIT_S24_LE
19 + // | SNDRV_PCM_FMTBIT_S24_LE : disable for now, it causes white noise with xbmc
20 | SNDRV_PCM_FMTBIT_S32_LE
21 },
22 .capture = {
23 --- a/sound/soc/codecs/pcm5102a.c
24 +++ b/sound/soc/codecs/pcm5102a.c
25 @@ -28,7 +28,7 @@ static struct snd_soc_dai_driver pcm5102
26 .channels_max = 2,
27 .rates = SNDRV_PCM_RATE_8000_192000,
28 .formats = SNDRV_PCM_FMTBIT_S16_LE |
29 - SNDRV_PCM_FMTBIT_S24_LE |
30 + // SNDRV_PCM_FMTBIT_S24_LE | : disable for now, it causes white noise with xbmc
31 SNDRV_PCM_FMTBIT_S32_LE
32 },
33 };