[lkml]   [2011]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[18/26] mfd: Fix twl4030 dependencies for audio codec
    3.1-stable review patch.  If anyone has any objections, please let me know.


    From: Thomas Weber <>

    commit f09ee0451a44a4e913a7c3cec3805508f7de6c54 upstream.

    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

    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 into
    CONFIG_MFD_TWL4030_AUDIO in twl-core.c.

    Signed-off-by: Thomas Weber <>
    Acked-by: Peter Ujfalusi <>
    Signed-off-by: Samuel Ortiz <>
    Cc: Jarkko Nikula <>
    Signed-off-by: Greg Kroah-Hartman <>

    drivers/mfd/twl-core.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/mfd/twl-core.c
    +++ b/drivers/mfd/twl-core.c
    @@ -109,7 +109,7 @@
    #define twl_has_watchdog() false

    -#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

     \ /
      Last update: 2011-11-19 01:13    [W:0.018 / U:2.460 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site