mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-25 06:26:15 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
26 lines
927 B
Diff
26 lines
927 B
Diff
From dd7a15472b18d4bce738bb9213443c140473833b Mon Sep 17 00:00:00 2001
|
|
From: Matthew <sirfragles@gmail.com>
|
|
Date: Sun, 26 May 2024 20:20:50 +0200
|
|
Subject: [PATCH 1108/1135] Update DAC8x to support 384khz (#6187)
|
|
|
|
Update rpi-simple-soundcard.c with 384kHz support.
|
|
---
|
|
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 192ksps
|
|
+ * and limit the sample rate to 384ksps
|
|
*/
|
|
codec_dai->driver->playback.channels_max = 8;
|
|
- codec_dai->driver->playback.rates = SNDRV_PCM_RATE_8000_192000;
|
|
+ codec_dai->driver->playback.rates = SNDRV_PCM_RATE_8000_384000;
|
|
|
|
return 0;
|
|
}
|