bcm27xx: update 6.1 patches to latest version
[openwrt/staging/jow.git] / target / linux / bcm27xx / patches-6.1 / 950-1174-ASoC-dwc-Permit-sample-rates-up-to-384kHz.patch
1 From 6fac5d5ed6d023733ef7304afc88c8d89467a204 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 27 Nov 2023 12:16:04 +0000
4 Subject: [PATCH] ASoC: dwc: Permit sample rates up to 384kHz
5
6 The BCM2835 I2S block advertises clock rates up to 384kHz, and there's
7 no reason why RP1's DWC I2S block shouldn't do the same.
8
9 See: https://github.com/raspberrypi/linux/issues/5748
10
11 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 ---
13 sound/soc/dwc/dwc-i2s.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 --- a/sound/soc/dwc/dwc-i2s.c
17 +++ b/sound/soc/dwc/dwc-i2s.c
18 @@ -667,7 +667,7 @@ static int dw_configure_dai_by_dt(struct
19 if (WARN_ON(idx >= ARRAY_SIZE(bus_widths)))
20 return -EINVAL;
21
22 - ret = dw_configure_dai(dev, dw_i2s_dai, SNDRV_PCM_RATE_8000_192000);
23 + ret = dw_configure_dai(dev, dw_i2s_dai, SNDRV_PCM_RATE_8000_384000);
24 if (ret < 0)
25 return ret;
26