2016-12-02 10:50:26 +00:00
|
|
|
From 3dc4ed78cd40e820a68fb6de679b7ed22e7f638c Mon Sep 17 00:00:00 2001
|
2016-06-08 09:59:37 +00:00
|
|
|
From: popcornmix <popcornmix@gmail.com>
|
|
|
|
Date: Fri, 29 Apr 2016 17:30:00 +0100
|
2016-09-10 12:54:26 +00:00
|
|
|
Subject: [PATCH] Revert "bcm2835: extend allowed range of channels and
|
2016-06-08 09:59:37 +00:00
|
|
|
samplerates"
|
|
|
|
|
|
|
|
This reverts commit 688a5f0daa45e0a51b324707768d472e1d715c13.
|
|
|
|
---
|
|
|
|
sound/arm/bcm2835-pcm.c | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
|
|
|
|
--- a/sound/arm/bcm2835-pcm.c
|
|
|
|
+++ b/sound/arm/bcm2835-pcm.c
|
|
|
|
@@ -26,9 +26,9 @@ static struct snd_pcm_hardware snd_bcm28
|
|
|
|
.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE,
|
|
|
|
.rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000,
|
|
|
|
.rate_min = 8000,
|
|
|
|
- .rate_max = 192000,
|
|
|
|
+ .rate_max = 48000,
|
|
|
|
.channels_min = 1,
|
|
|
|
- .channels_max = 8,
|
|
|
|
+ .channels_max = 2,
|
|
|
|
.buffer_bytes_max = 128 * 1024,
|
|
|
|
.period_bytes_min = 1 * 1024,
|
|
|
|
.period_bytes_max = 128 * 1024,
|
|
|
|
@@ -43,9 +43,9 @@ static struct snd_pcm_hardware snd_bcm28
|
|
|
|
.rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_44100 |
|
|
|
|
SNDRV_PCM_RATE_48000,
|
|
|
|
.rate_min = 44100,
|
|
|
|
- .rate_max = 192000,
|
|
|
|
+ .rate_max = 48000,
|
|
|
|
.channels_min = 2,
|
|
|
|
- .channels_max = 8,
|
|
|
|
+ .channels_max = 2,
|
|
|
|
.buffer_bytes_max = 128 * 1024,
|
|
|
|
.period_bytes_min = 1 * 1024,
|
|
|
|
.period_bytes_max = 128 * 1024,
|