Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
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;
|
|
}
|