ASoC/MFD: twl4030: Fix dependencies for audio codec
Subsystems (2)
PATCH 1/1 ASoC/MFD: twl4030: Fix dependencies for audio codec
The codec for Devkit8000 (TWL4030) was not detected except when build with CONFIG_SND_SOC_ALL_CODECS.
twl-core.c still uses the CONFIG_TWL4030_CODEC for twl_has_codec().
In commit 57fe7251f5bfc4332f24479376de48a1e8ca6211 the CONFIG_TWL4030_CODEC was renamed
into CONFIG_MFD_TWL4030_AUDIO, thatswhy the codec was not detected.
This patch renames the CONFIG_ TWL4030_CODEC intoCONFIG_MFD_TWL4030_AUDIO in twl-core.c.
--- drivers/mfd/twl-core.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/twl-core.c +1 -1
@@ -109,7 +109,7 @@#define twl_has_watchdog () false#endif -#if defined(CONFIG_TWL4030_CODEC ) || defined(CONFIG_TWL4030_CODEC_MODULE ) ||\ +#if defined(CONFIG_MFD_TWL4030_AUDIO ) || defined(CONFIG_MFD_TWL4030_AUDIO_MODULE ) ||\ defined(CONFIG_TWL6040_CORE ) || defined(CONFIG_TWL6040_CORE_MODULE )#define twl_has_codec () true#else
Signature · 1 line
1.7.6.1
Quoted 5 lines · On Monday 05 September 2011 11:26:33 Thomas Weber wrote:
The codec for Devkit8000 (TWL4030) was not detected except when build with
CONFIG_SND_SOC_ALL_CODECS.
twl-core.cstill uses theCONFIG_TWL4030_CODECfortwl_has_codec().
Samuel Ortiz
AppliedHi THomas,
Quoted 11 lines · Thomas Weber
The codec for Devkit8000 (TWL4030) was not detected except when build with
CONFIG_SND_SOC_ALL_CODECS.
twl-core.cstill uses theCONFIG_TWL4030_CODECfortwl_has_codec().In commit
57fe7251f5bfc4332f24479376de48a1e8ca6211theCONFIG_TWL4030_CODECwas renamed
intoCONFIG_MFD_TWL4030_AUDIO, thatswhy the codec was not detected.
Quoted 4 lines
This patch renames the
CONFIG_TWL4030_CODECintoCONFIG_MFD_TWL4030_AUDIOintwl-core.c.Signed-off-by Thomas Weber <[email protected]>
Applied, thanks a lot.
Cheers,
Samuel.
Signature · 2 lines
Intel Open Source Technology Centre http://oss.intel.com/