Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

From: Pavel Machek
Date: Fri Mar 23 2018 - 10:09:54 EST


Hi!

> That's not an error, but just some debug messages. Consider
> disabling CONFIG_DEBUG_GPIO to get rid of them.
>
> > Indeed the dts does not seem to contain any gpios
>
> It's optional and does not exist on Droid 4.
>
> > soundcard {
...
> > };
> >
> > Any more ideas? :-)
>
> Make sure, that the device was not proped properly (cat
> /proc/asound/cards) and post the real error? :)

Thanks, it is indeed a config problem. When I disabled "unrelated"
options, these got disabled, too:

They can be only selected, and there's nothing to select them in Droid
4 case.
Pavel

diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig
index 2772414..7860b6e 100644
--- a/sound/soc/omap/Kconfig
+++ b/sound/soc/omap/Kconfig
@@ -4,13 +4,13 @@ config SND_OMAP_SOC
select SND_DMAENGINE_PCM

config SND_OMAP_SOC_DMIC
- tristate
+ tristate "dmic"

config SND_OMAP_SOC_MCBSP
- tristate
+ tristate "mcbsp"

config SND_OMAP_SOC_MCPDM
- tristate
+ tristate "mcpdm"

config SND_OMAP_SOC_HDMI_AUDIO
tristate "HDMI audio support for OMAP4+ based SoCs"






--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature