Skip to content

Commit

Permalink
ASoC: bcm: Fix Rpi-PROTO and audioinjector.net Pi
Browse files Browse the repository at this point in the history
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: #5364

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
  • Loading branch information
pelwell authored and popcornmix committed Mar 10, 2023
1 parent dcfa4b2 commit 9549810
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/bcm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9549810

Please sign in to comment.