bcm27xx: 6.1: add kernel patches
[openwrt/staging/stintel.git] / target / linux / bcm27xx / patches-6.1 / 950-0566-ASoC-bcm-Fix-Rpi-PROTO-and-audioinjector.net-Pi.patch
1 From 686855c2e6dcd6d802570e51dae19e95b78d2630 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Tue, 28 Feb 2023 14:15:42 +0000
4 Subject: [PATCH] ASoC: bcm: Fix Rpi-PROTO and audioinjector.net Pi
5
6 As of kernel 5.19 the WM8731 driver has separate I2C and SPI support
7 modules. Change the Kconfig definitions for the audioinjector.net Pi
8 and Rpi-PROTO soundcards to select SND_SOC_WM8731_I2C.
9
10 See: https://github.com/raspberrypi/linux/issues/5364
11
12 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
13 ---
14 sound/soc/bcm/Kconfig | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
16
17 --- a/sound/soc/bcm/Kconfig
18 +++ b/sound/soc/bcm/Kconfig
19 @@ -135,7 +135,7 @@ config SND_BCM2708_SOC_RPI_DAC
20 config SND_BCM2708_SOC_RPI_PROTO
21 tristate "Support for Rpi-PROTO"
22 depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S
23 - select SND_SOC_WM8731
24 + select SND_SOC_WM8731_I2C
25 help
26 Say Y or M if you want to add support for Audio Codec Board PROTO (WM8731).
27
28 @@ -206,7 +206,7 @@ config SND_BCM2708_SOC_ADAU1977_ADC
29 config SND_AUDIOINJECTOR_PI_SOUNDCARD
30 tristate "Support for audioinjector.net Pi add on soundcard"
31 depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S
32 - select SND_SOC_WM8731
33 + select SND_SOC_WM8731_I2C
34 help
35 Say Y or M if you want to add support for audioinjector.net Pi Hat
36