9adba5e09fb49bdd899615b83c3e4fbc8343eae9
[openwrt/staging/wigyori.git] /
1 From 4fe6752d2690c108aba6cd0576b86878b69b597c Mon Sep 17 00:00:00 2001
2 From: Joerg Schambacher <joerg@hifiberry.com>
3 Date: Wed, 15 Dec 2021 19:27:00 +0100
4 Subject: [PATCH] ASoC:ma120x0p: Increase maximum sample rate to 192KHz
5
6 Change the maximum sample rate for the amplifier to
7 192KHz as given in the Infineon specification.
8
9 Signed-off-by: Joerg Schambacher <joerg@hifiberry.com>
10 ---
11 sound/soc/codecs/ma120x0p.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 --- a/sound/soc/codecs/ma120x0p.c
15 +++ b/sound/soc/codecs/ma120x0p.c
16 @@ -1002,7 +1002,7 @@ static struct snd_soc_dai_driver ma120x0
17 .channels_max = 2,
18 .rates = SNDRV_PCM_RATE_CONTINUOUS,
19 .rate_min = 44100,
20 - .rate_max = 96000,
21 + .rate_max = 192000,
22 .formats = SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE
23 },
24 .ops = &ma120x0p_dai_ops,