* [PATCH] ASoC/MFD: twl4030: Fix dependencies for audio codec
@ 2011-09-05 9:26 Thomas Weber
2011-09-05 10:43 ` Péter Ujfalusi
2011-09-15 16:52 ` Samuel Ortiz
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Weber @ 2011-09-05 9:26 UTC (permalink / raw)
To: linux-kernel
Cc: peter.ujfalusi, sameo, linux-omap, broonie, tiwai, alsa-devel,
Thomas Weber
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 into
CONFIG_MFD_TWL4030_AUDIO in twl-core.c.
Signed-off-by: Thomas Weber <weber@corscience.de>
---
drivers/mfd/twl-core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c
index 01ecfee..b8eef46 100644
--- a/drivers/mfd/twl-core.c
+++ b/drivers/mfd/twl-core.c
@@ -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
--
1.7.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC/MFD: twl4030: Fix dependencies for audio codec
2011-09-05 9:26 [PATCH] ASoC/MFD: twl4030: Fix dependencies for audio codec Thomas Weber
@ 2011-09-05 10:43 ` Péter Ujfalusi
2011-09-15 16:52 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Péter Ujfalusi @ 2011-09-05 10:43 UTC (permalink / raw)
To: Thomas Weber; +Cc: alsa-devel, sameo, tiwai, broonie, linux-kernel, linux-omap
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.c still uses the CONFIG_TWL4030_CODEC for
> twl_has_codec().
acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC/MFD: twl4030: Fix dependencies for audio codec
2011-09-05 9:26 [PATCH] ASoC/MFD: twl4030: Fix dependencies for audio codec Thomas Weber
2011-09-05 10:43 ` Péter Ujfalusi
@ 2011-09-15 16:52 ` Samuel Ortiz
1 sibling, 0 replies; 3+ messages in thread
From: Samuel Ortiz @ 2011-09-15 16:52 UTC (permalink / raw)
To: Thomas Weber
Cc: linux-kernel, peter.ujfalusi, linux-omap, broonie, tiwai,
alsa-devel
Hi THomas,
On Mon, Sep 05, 2011 at 11:26:33AM +0200, Thomas Weber wrote:
> 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 into
> CONFIG_MFD_TWL4030_AUDIO in twl-core.c.
>
> Signed-off-by: Thomas Weber <weber@corscience.de>
Applied, thanks a lot.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-15 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 9:26 [PATCH] ASoC/MFD: twl4030: Fix dependencies for audio codec Thomas Weber
2011-09-05 10:43 ` Péter Ujfalusi
2011-09-15 16:52 ` Samuel Ortiz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox