aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.15/950-0615-ASoC-ma120x0p-Increase-maximum-sample-rate-to-192KHz.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0615-ASoC-ma120x0p-Increase-maximum-sample-rate-to-192KHz.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.15/950-0615-ASoC-ma120x0p-Increase-maximum-sample-rate-to-192KHz.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0615-ASoC-ma120x0p-Increase-maximum-sample-rate-to-192KHz.patch b/target/linux/bcm27xx/patches-5.15/950-0615-ASoC-ma120x0p-Increase-maximum-sample-rate-to-192KHz.patch
new file mode 100644
index 0000000000..9adba5e09f
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.15/950-0615-ASoC-ma120x0p-Increase-maximum-sample-rate-to-192KHz.patch
@@ -0,0 +1,24 @@
+From 4fe6752d2690c108aba6cd0576b86878b69b597c Mon Sep 17 00:00:00 2001
+From: Joerg Schambacher <joerg@hifiberry.com>
+Date: Wed, 15 Dec 2021 19:27:00 +0100
+Subject: [PATCH] ASoC:ma120x0p: Increase maximum sample rate to 192KHz
+
+Change the maximum sample rate for the amplifier to
+192KHz as given in the Infineon specification.
+
+Signed-off-by: Joerg Schambacher <joerg@hifiberry.com>
+---
+ sound/soc/codecs/ma120x0p.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/sound/soc/codecs/ma120x0p.c
++++ b/sound/soc/codecs/ma120x0p.c
+@@ -1002,7 +1002,7 @@ static struct snd_soc_dai_driver ma120x0
+ .channels_max = 2,
+ .rates = SNDRV_PCM_RATE_CONTINUOUS,
+ .rate_min = 44100,
+- .rate_max = 96000,
++ .rate_max = 192000,
+ .formats = SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE
+ },
+ .ops = &ma120x0p_dai_ops,