Kconfig (1dcf98ff8e2a4571a2accb852686023b47ca629a) Kconfig (942c435ba79fd263a922bb114d56eccab6250662)
1# Helper to resolve issues with configs that have SPI enabled but I2C
2# modular, meaning we can't build the codec driver in with I2C support.
3# We use an ordered list of conditional defaults to pick the appropriate
4# setting - SPI can't be modular so that case doesn't need to be covered.
5config SND_SOC_I2C_AND_SPI
6 tristate
7 default m if I2C=m
8 default y if I2C=y

--- 30 unchanged lines hidden (view full) ---

39 select SND_SOC_WM8900 if I2C
40 select SND_SOC_WM8903 if I2C
41 select SND_SOC_WM8940 if I2C
42 select SND_SOC_WM8960 if I2C
43 select SND_SOC_WM8961 if I2C
44 select SND_SOC_WM8971 if I2C
45 select SND_SOC_WM8988 if SND_SOC_I2C_AND_SPI
46 select SND_SOC_WM8990 if I2C
1# Helper to resolve issues with configs that have SPI enabled but I2C
2# modular, meaning we can't build the codec driver in with I2C support.
3# We use an ordered list of conditional defaults to pick the appropriate
4# setting - SPI can't be modular so that case doesn't need to be covered.
5config SND_SOC_I2C_AND_SPI
6 tristate
7 default m if I2C=m
8 default y if I2C=y

--- 30 unchanged lines hidden (view full) ---

39 select SND_SOC_WM8900 if I2C
40 select SND_SOC_WM8903 if I2C
41 select SND_SOC_WM8940 if I2C
42 select SND_SOC_WM8960 if I2C
43 select SND_SOC_WM8961 if I2C
44 select SND_SOC_WM8971 if I2C
45 select SND_SOC_WM8988 if SND_SOC_I2C_AND_SPI
46 select SND_SOC_WM8990 if I2C
47 select SND_SOC_WM8993 if I2C
47 select SND_SOC_WM9081 if I2C
48 select SND_SOC_WM9705 if SND_SOC_AC97_BUS
49 select SND_SOC_WM9712 if SND_SOC_AC97_BUS
50 select SND_SOC_WM9713 if SND_SOC_AC97_BUS
51 help
52 Normally ASoC codec drivers are only built if a machine driver which
53 uses them is also built since they are only usable with a machine
54 driver. Selecting this option will allow these drivers to be built

--- 113 unchanged lines hidden (view full) ---

168 tristate
169
170config SND_SOC_WM8988
171 tristate
172
173config SND_SOC_WM8990
174 tristate
175
48 select SND_SOC_WM9081 if I2C
49 select SND_SOC_WM9705 if SND_SOC_AC97_BUS
50 select SND_SOC_WM9712 if SND_SOC_AC97_BUS
51 select SND_SOC_WM9713 if SND_SOC_AC97_BUS
52 help
53 Normally ASoC codec drivers are only built if a machine driver which
54 uses them is also built since they are only usable with a machine
55 driver. Selecting this option will allow these drivers to be built

--- 113 unchanged lines hidden (view full) ---

169 tristate
170
171config SND_SOC_WM8988
172 tristate
173
174config SND_SOC_WM8990
175 tristate
176
177config SND_SOC_WM8993
178 tristate
179
176config SND_SOC_WM9081
177 tristate
178
179config SND_SOC_WM9705
180 tristate
181
182config SND_SOC_WM9712
183 tristate
184
185config SND_SOC_WM9713
186 tristate
180config SND_SOC_WM9081
181 tristate
182
183config SND_SOC_WM9705
184 tristate
185
186config SND_SOC_WM9712
187 tristate
188
189config SND_SOC_WM9713
190 tristate