mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			41 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From a35b5dac8810f6e13c0eae5950b5c6d2227613de Mon Sep 17 00:00:00 2001
 | |
| From: Phil Elwell <phil@raspberrypi.com>
 | |
| Date: Tue, 28 Feb 2023 14:15:42 +0000
 | |
| Subject: [PATCH 594/726] 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 <phil@raspberrypi.com>
 | |
| ---
 | |
|  sound/soc/bcm/Kconfig | 4 ++--
 | |
|  1 file changed, 2 insertions(+), 2 deletions(-)
 | |
| 
 | |
| diff --git a/sound/soc/bcm/Kconfig b/sound/soc/bcm/Kconfig
 | |
| index c865ad6f50b9..0c3eacabbb0a 100644
 | |
| --- 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
 | |
|  
 | |
| -- 
 | |
| 2.33.1
 | |
| 
 |