Re: Compile err when enable CONFIG_SND_OMAP_SOC_OMAP_HDMI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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@xxxxxxxxxxxxxxx
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux