From 686855c2e6dcd6d802570e51dae19e95b78d2630 Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 28 Feb 2023 14:15:42 +0000 Subject: [PATCH] ASoC: bcm: Fix Rpi-PROTO and audioinjector.net Pi As of kernel 5.19 the WM8731 driver has separate I2C and SPI support modules. Change the Kconfig definitions for the audioinjector.net Pi and Rpi-PROTO soundcards to select SND_SOC_WM8731_I2C. See: https://github.com/raspberrypi/linux/issues/5364 Signed-off-by: Phil Elwell --- sound/soc/bcm/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/sound/soc/bcm/Kconfig +++ b/sound/soc/bcm/Kconfig @@ -135,7 +135,7 @@ config SND_BCM2708_SOC_RPI_DAC config SND_BCM2708_SOC_RPI_PROTO tristate "Support for Rpi-PROTO" depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S - select SND_SOC_WM8731 + select SND_SOC_WM8731_I2C help Say Y or M if you want to add support for Audio Codec Board PROTO (WM8731). @@ -206,7 +206,7 @@ config SND_BCM2708_SOC_ADAU1977_ADC config SND_AUDIOINJECTOR_PI_SOUNDCARD tristate "Support for audioinjector.net Pi add on soundcard" depends on SND_BCM2708_SOC_I2S || SND_BCM2835_SOC_I2S - select SND_SOC_WM8731 + select SND_SOC_WM8731_I2C help Say Y or M if you want to add support for audioinjector.net Pi Hat