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 got 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 DSS
audio functionality in [1], but ASoC patches were merged first. DSS
patches have been accepted and they are part of Tomi's pull request
for DSS for K3.5. Hopefully this will be fixed when v3.5-rc1 is out.

Ricardo, thanks for your detail infos :).

Just wanted to confirm to you that this build break is not present in 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
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ AlsaMixer v1.0.21 ▒
▒ Card: OMAPHDMI F1: Help ▒
▒ Chip: F2: System information ▒
▒ View: F3: Playback F4: Capture F5: All F6: Select sound card ▒
▒ Item: Esc: Exit ▒
▒ ▒
▒ ▒
▒ ▒
▒ This sound device does not have any controls. ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒ ▒
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒

root@panda:/root> aplay audio48k16S.wav
Playing WAVE 'audio48k16S.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

But hdmi audio of imx6q board is ok with the same hdmi tv. Did I miss something else? thanks.

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 majord...@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" 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