openwrt/target/linux/bcm27xx/patches-6.6/950-1172-Revert-Update-DAC8x-to-support-384khz-6187.patch
Álvaro Fernández Rojas 0171157d45 bcm27xx: update to latest RPi patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.44..rpi-6.6.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-08-06 18:38:00 +02:00

26 lines
947 B
Diff

From 31eb43be8cad2818b4458cf1fd2dfa60031ee5f4 Mon Sep 17 00:00:00 2001
From: Matthew <sirfragles@gmail.com>
Date: Tue, 16 Jul 2024 11:20:54 +0200
Subject: [PATCH 1172/1215] Revert "Update DAC8x to support 384khz (#6187)"
This reverts commit dd7a15472b18d4bce738bb9213443c140473833b.
---
sound/soc/bcm/rpi-simple-soundcard.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/sound/soc/bcm/rpi-simple-soundcard.c
+++ b/sound/soc/bcm/rpi-simple-soundcard.c
@@ -324,10 +324,10 @@ static int hifiberry_dac8x_init(struct s
struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0);
/* override the defaults to reflect 4 x PCM5102A on the card
- * and limit the sample rate to 384ksps
+ * and limit the sample rate to 192ksps
*/
codec_dai->driver->playback.channels_max = 8;
- codec_dai->driver->playback.rates = SNDRV_PCM_RATE_8000_384000;
+ codec_dai->driver->playback.rates = SNDRV_PCM_RATE_8000_192000;
return 0;
}