From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Neri Subject: Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI Date: Tue, 5 Jun 2012 10:51:05 -0500 Message-ID: <4FCE2AE9.3000707@ti.com> References: <4FC5C8E5.7060108@gmail.com> <4FC6AEAF.5020501@ti.com> <4FC6F330.8070408@gmail.com> <4FCD5FB6.4040806@ti.com> <4FCD87C7.3070504@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from comal.ext.ti.com ([198.47.26.152]:37736 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753366Ab2FEPvk (ORCPT ); Tue, 5 Jun 2012 11:51:40 -0400 In-Reply-To: <4FCD87C7.3070504@gmail.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Xiao Jiang Cc: "Valkeinen, Tomi" , Jarkko Nikula , "linux-omap@vger.kernel.org" Hi Xiao, On 06/04/2012 11:15 PM, Xiao Jiang wrote: > Ricardo Neri wrote: >> Hi Xiao, Tomi, Jarkko, >> >> On 05/30/2012 11:27 PM, Xiao Jiang wrote: >>> Ricardo Neri wrote: >>>> +Tomi >>>> >>>> Hi Xiao, >>>> >>>> On 05/30/2012 02:14 AM, Xiao Jiang wrote: >>>>> Hello, >>>>> >>>>> After enable SND_OMAP_SOC_OMAP_HDMI with omap2plus_defconfig, I g= ot >>>>> some >>>>> err infos with latest >>>>> Linus's tree, does somebody also has the same issue? >>>>> >>>>> sound/soc/omap/omap-hdmi.c:45:24: error: field 'dss_audio' has >>>>> incomplete type >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_startup': >>>>> sound/soc/omap/omap-hdmi.c:67:27: error: 'struct omap_dss_driver' >>>>> has no >>>>> member named 'audio_supported' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >>>>> sound/soc/omap/omap-hdmi.c:79:29: error: 'struct omap_dss_driver' >>>>> has no >>>>> member named 'audio_enable' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_hw_params'= : >>>>> sound/soc/omap/omap-hdmi.c:208:28: error: 'struct omap_dss_driver= ' has >>>>> no member named 'audio_config' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_trigger': >>>>> sound/soc/omap/omap-hdmi.c:224:29: error: 'struct omap_dss_driver= ' has >>>>> no member named 'audio_start' >>>>> sound/soc/omap/omap-hdmi.c:229:23: error: 'struct omap_dss_driver= ' has >>>>> no member named 'audio_stop' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_shutdown': >>>>> sound/soc/omap/omap-hdmi.c:242:22: error: 'struct omap_dss_driver= ' has >>>>> no member named 'audio_disable' >>>>> sound/soc/omap/omap-hdmi.c: In function 'omap_hdmi_dai_prepare': >>>>> sound/soc/omap/omap-hdmi.c:80:1: warning: control reaches end of >>>>> non-void function >>>> >>>> Build breaks because there some patches [1] that are still missing= in >>>> Linus' tree. ASoC HDMI audio driver for OMAP[2] now uses the new D= SS >>>> audio functionality in [1], but ASoC patches were merged first. DS= S >>>> patches have been accepted and they are part of Tomi's pull reques= t >>>> for DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is ou= t. >>>> >>> Ricardo, thanks for your detail infos :). >> >> Just wanted to confirm to you that this build break is not present i= n >> 3.5-rc1 as both omapdss and asoc dependencies are present. >> > Hi Ricardo, > > Good to know, but I can't get any voice with aplay, although penguins > are appeared on > the hdmi tv. Pls see below infos. > > root@panda:/root> aplay -l > **** List of PLAYBACK Hardware Devices **** > card 0: OMAPHDMI [OMAPHDMI], device 0: HDMI omap-hdmi-hifi-0 [] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > > root@panda:/root> alsamixer > =E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96= =92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96= =92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96= =92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92 AlsaMixer v1.= 0.21 =E2=96=92 > =E2=96=92 Card: OMAPHDMI F1: Help =E2=96=92 > =E2=96=92 Chip: F2: System information =E2=96=92 > =E2=96=92 View: F3: Playback F4: Capture F5: All F6: Select sound car= d =E2=96=92 > =E2=96=92 Item: Esc: Exit =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 This sound device does not have any controls. =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92 =E2=96=92 > =E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96= =92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96= =92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96= =92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96= =92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96=92=E2=96= =92=E2=96=92 > > root@panda:/root> aplay audio48k16S.wav > Playing WAVE 'audio48k16S.wav' : Signed 16 bit Little Endian, Rate 48= 000 > Hz, Stereo > > But hdmi audio of imx6q board is ok with the same hdmi tv. Did I miss > something else? thanks. Do you see that the playback finishes (even though you don't hear=20 anything)? Also, what version of Pandaboard are you using? Is it=20 Pandaboard or PandaboardES? Have you tried on different TVs? BR, Ricardo > > Regards, > Xiao > >> Ricardo >>> >>> Regards, >>> Xiao >>>> BR, >>>> >>>> Ricardo >>>> >>>> [1].http://www.spinics.net/lists/linux-omap/msg69466.html >>>> [2].http://www.spinics.net/lists/linux-omap/msg70561.html >>>>> >>>>> Regards, >>>>> Xiao >>>>> >>>>> -- >>>>> To unsubscribe from this list: send the line "unsubscribe >>>>> linux-omap" in >>>>> the body of a message to majordomo@vger.kernel.org >>>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>>> >>> >> > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html