Files
openwrt-master/target/linux/bcm27xx/patches-6.6/950-1172-Revert-Update-DAC8x-to-support-384khz-6187.patch
domenico c06fb25d1f
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
Initial commit
2025-06-24 14:35:53 +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;
}