brcm2708: update linux 4.4 patches to latest version
[openwrt/staging/dedeckeh.git] / target / linux / brcm2708 / patches-4.4 / 0316-Revert-bcm2835-extend-allowed-range-of-channels-and-.patch
1 From c46ed63ab5c1c24f3732aa410e9b9661d4c18ce7 Mon Sep 17 00:00:00 2001
2 From: popcornmix <popcornmix@gmail.com>
3 Date: Fri, 29 Apr 2016 17:30:00 +0100
4 Subject: [PATCH 316/423] Revert "bcm2835: extend allowed range of channels and
5 samplerates"
6
7 This reverts commit 688a5f0daa45e0a51b324707768d472e1d715c13.
8 ---
9 sound/arm/bcm2835-pcm.c | 8 ++++----
10 1 file changed, 4 insertions(+), 4 deletions(-)
11
12 --- a/sound/arm/bcm2835-pcm.c
13 +++ b/sound/arm/bcm2835-pcm.c
14 @@ -26,9 +26,9 @@ static struct snd_pcm_hardware snd_bcm28
15 .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE,
16 .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000,
17 .rate_min = 8000,
18 - .rate_max = 192000,
19 + .rate_max = 48000,
20 .channels_min = 1,
21 - .channels_max = 8,
22 + .channels_max = 2,
23 .buffer_bytes_max = 128 * 1024,
24 .period_bytes_min = 1 * 1024,
25 .period_bytes_max = 128 * 1024,
26 @@ -43,9 +43,9 @@ static struct snd_pcm_hardware snd_bcm28
27 .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_44100 |
28 SNDRV_PCM_RATE_48000,
29 .rate_min = 44100,
30 - .rate_max = 192000,
31 + .rate_max = 48000,
32 .channels_min = 2,
33 - .channels_max = 8,
34 + .channels_max = 2,
35 .buffer_bytes_max = 128 * 1024,
36 .period_bytes_min = 1 * 1024,
37 .period_bytes_max = 128 * 1024,