0319-Revert-bcm2835-extend-allowed-range-of-channels-and-.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. From cc475d93be9bf38826d0e091172816c29996fa4c 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 319/381] Revert "bcm2835: extend allowed range of channels and
  5. samplerates"
  6. This reverts commit 688a5f0daa45e0a51b324707768d472e1d715c13.
  7. ---
  8. sound/arm/bcm2835-pcm.c | 8 ++++----
  9. 1 file changed, 4 insertions(+), 4 deletions(-)
  10. --- a/sound/arm/bcm2835-pcm.c
  11. +++ b/sound/arm/bcm2835-pcm.c
  12. @@ -26,9 +26,9 @@ static struct snd_pcm_hardware snd_bcm28
  13. .formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S16_LE,
  14. .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000,
  15. .rate_min = 8000,
  16. - .rate_max = 192000,
  17. + .rate_max = 48000,
  18. .channels_min = 1,
  19. - .channels_max = 8,
  20. + .channels_max = 2,
  21. .buffer_bytes_max = 128 * 1024,
  22. .period_bytes_min = 1 * 1024,
  23. .period_bytes_max = 128 * 1024,
  24. @@ -43,9 +43,9 @@ static struct snd_pcm_hardware snd_bcm28
  25. .rates = SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_44100 |
  26. SNDRV_PCM_RATE_48000,
  27. .rate_min = 44100,
  28. - .rate_max = 192000,
  29. + .rate_max = 48000,
  30. .channels_min = 2,
  31. - .channels_max = 8,
  32. + .channels_max = 2,
  33. .buffer_bytes_max = 128 * 1024,
  34. .period_bytes_min = 1 * 1024,
  35. .period_bytes_max = 128 * 1024,