ar71xx/ath79: ag71xx: dont fetch the same var again
[openwrt/staging/wigyori.git] / target / linux / brcm2708 / patches-4.19 / 950-0412-ASoC-tlv320aic32x4-Only-enable-with-common-clock.patch
1 From 618baa8ddc305c5bbe1cd4682c9df252e6fc386c Mon Sep 17 00:00:00 2001
2 From: Mark Brown <broonie@kernel.org>
3 Date: Tue, 26 Mar 2019 13:10:13 +0000
4 Subject: [PATCH 412/725] ASoC: tlv320aic32x4: Only enable with common clock
5
6 commit 64f01d2b5ccc621c3aa66b82daf9154f5581f36a upstream.
7
8 Some architectures do not yet support the common clock API at all but
9 the tlv320aic32x4 driver now requires it.
10
11 Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
12 Signed-off-by: Mark Brown <broonie@kernel.org>
13 ---
14 sound/soc/codecs/Kconfig | 6 ++++--
15 1 file changed, 4 insertions(+), 2 deletions(-)
16
17 --- a/sound/soc/codecs/Kconfig
18 +++ b/sound/soc/codecs/Kconfig
19 @@ -170,8 +170,8 @@ config SND_SOC_ALL_CODECS
20 select SND_SOC_TAS5713 if I2C
21 select SND_SOC_TLV320AIC26 if SPI_MASTER
22 select SND_SOC_TLV320AIC31XX if I2C
23 - select SND_SOC_TLV320AIC32X4_I2C if I2C
24 - select SND_SOC_TLV320AIC32X4_SPI if SPI_MASTER
25 + select SND_SOC_TLV320AIC32X4_I2C if I2C && COMMON_CLK
26 + select SND_SOC_TLV320AIC32X4_SPI if SPI_MASTER && COMMON_CLK
27 select SND_SOC_TLV320AIC3X if I2C
28 select SND_SOC_TPA6130A2 if I2C
29 select SND_SOC_TLV320DAC33 if I2C
30 @@ -1030,11 +1030,13 @@ config SND_SOC_TLV320AIC32X4
31 config SND_SOC_TLV320AIC32X4_I2C
32 tristate "Texas Instruments TLV320AIC32x4 audio CODECs - I2C"
33 depends on I2C
34 + depends on COMMON_CLK
35 select SND_SOC_TLV320AIC32X4
36
37 config SND_SOC_TLV320AIC32X4_SPI
38 tristate "Texas Instruments TLV320AIC32x4 audio CODECs - SPI"
39 depends on SPI_MASTER
40 + depends on COMMON_CLK
41 select SND_SOC_TLV320AIC32X4
42
43 config SND_SOC_TLV320AIC3X