diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-03-16 04:56:40 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-01 06:28:27 -0400 |
commit | 60aae8da298e3ac0af07c8cdb6a98e47e8deab35 (patch) | |
tree | 3d8b42210aaff89459c8a7ec7185a8c7e4ac616f /sound/soc/fsl/Kconfig | |
parent | f19493a3d25ddf3ac7f27d846d54e95fb91af119 (diff) |
ASoC: fsl: create fsl_utils to accommodate the common functions
There is some amount of code duplication between mpc8610_hpcd and
p1022_ds machine drivers, and the same code will be duplicated again
when another new machine driver is added. The patch creates fsl_utils
to accommodate the common functions to stop the code duplication.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/Kconfig')
-rw-r--r-- | sound/soc/fsl/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index e3f75093d197..535ee73ecf15 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig | |||
@@ -1,6 +1,9 @@ | |||
1 | config SND_SOC_FSL_SSI | 1 | config SND_SOC_FSL_SSI |
2 | tristate | 2 | tristate |
3 | 3 | ||
4 | config SND_SOC_FSL_UTILS | ||
5 | tristate | ||
6 | |||
4 | menuconfig SND_POWERPC_SOC | 7 | menuconfig SND_POWERPC_SOC |
5 | tristate "SoC Audio for Freescale PowerPC CPUs" | 8 | tristate "SoC Audio for Freescale PowerPC CPUs" |
6 | depends on FSL_SOC | 9 | depends on FSL_SOC |
@@ -26,6 +29,7 @@ config SND_SOC_MPC8610_HPCD | |||
26 | # I2C is necessary for the CS4270 driver | 29 | # I2C is necessary for the CS4270 driver |
27 | depends on MPC8610_HPCD && I2C | 30 | depends on MPC8610_HPCD && I2C |
28 | select SND_SOC_FSL_SSI | 31 | select SND_SOC_FSL_SSI |
32 | select SND_SOC_FSL_UTILS | ||
29 | select SND_SOC_POWERPC_DMA | 33 | select SND_SOC_POWERPC_DMA |
30 | select SND_SOC_CS4270 | 34 | select SND_SOC_CS4270 |
31 | select SND_SOC_CS4270_VD33_ERRATA | 35 | select SND_SOC_CS4270_VD33_ERRATA |
@@ -38,6 +42,7 @@ config SND_SOC_P1022_DS | |||
38 | # I2C is necessary for the WM8776 driver | 42 | # I2C is necessary for the WM8776 driver |
39 | depends on P1022_DS && I2C | 43 | depends on P1022_DS && I2C |
40 | select SND_SOC_FSL_SSI | 44 | select SND_SOC_FSL_SSI |
45 | select SND_SOC_FSL_UTILS | ||
41 | select SND_SOC_POWERPC_DMA | 46 | select SND_SOC_POWERPC_DMA |
42 | select SND_SOC_WM8776 | 47 | select SND_SOC_WM8776 |
43 | default y if P1022_DS | 48 | default y if P1022_DS |