On Fri, Apr 27, 2012 at 8:19 PM, Russell King - ARM Linux
<li...@arm.linux.org.uk> wrote:
> root@omap-4430sdp:~# lsmod
> Module                  Size  Used by
> snd_soc_dmic            1492  0
> snd_soc_omap4_hdmi      1724  0
> snd_soc_omap_hdmi       1536  0
> snd_soc_omap_abe_twl6040     4867  0
> snd_soc_omap_dmic       4248  0
> snd_soc_omap_mcpdm      3077  1 snd_soc_omap_abe_twl6040
> snd_soc_omap            2987  0
> snd_soc_twl6040        18601  1 snd_soc_omap_abe_twl6040
> root@omap-4430sdp:~# cat /proc/asound/cards
> --- no soundcards ---
> root@omap-4430sdp:~# grep . /sys/kernel/debug/asoc/*
> /sys/kernel/debug/asoc/codecs:dmic-codec
> /sys/kernel/debug/asoc/codecs:snd-soc-dummy
> /sys/kernel/debug/asoc/codecs:omapdss_hdmi

the twl6040 codec is missing.

> /sys/kernel/debug/asoc/dais:dmic-hifi
> /sys/kernel/debug/asoc/dais:omap-dmic
> /sys/kernel/debug/asoc/dais:omap-mcpdm
> /sys/kernel/debug/asoc/dais:snd-soc-dummy-dai
> /sys/kernel/debug/asoc/dais:hdmi-audio-codec

as well the dai for the twl6040.

> /sys/kernel/debug/asoc/platforms:omap-pcm-audio
> /sys/kernel/debug/asoc/platforms:snd-soc-dummy
>
> So the answer is... no.

Hrm.
I don't think you can build the twl6040 MFD core driver as a module.
Do you have CONFIG_TWL6040_CORE=y ?
We have MFD for twl6040 since it provides audio and vibra functionality as well.

Can you check if you have this commit:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=8eaeb9393397be8eb700ab38a69c450975463b77

This is the second patch to separate the twl6040 from twl-core.
If you are missing this patch twl6040 will not probe (twl core will
not register the
audio if we have twl6030).

-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to