[#3966] undefined symbols when building asoc wm8731 driver
Submitted By: Yi Li
Open Date
2008-03-13 07:05:17 Close Date
2008-06-19 01:51:21
Priority:
Medium Assignee:
Cliff Cai
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
svn trunk
Category:
N/A Board:
STAMP
Processor:
BF537 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
App binary format:
N/A
Summary: undefined symbols when building asoc wm8731 driver
Details:
If config the kernel as:
#
# System on Chip audio support
#
CONFIG_SND_SOC=m
CONFIG_SND_BF5XX_SOC=m
CONFIG_SND_MMAP_SUPPORT=y
CONFIG_SND_BF5XX_SOC_I2S=m
# CONFIG_SND_BF5XX_SOC_WM8750 is not set
CONFIG_SND_BF5XX_SOC_WM8731=m
# CONFIG_SND_BF5XX_SOC_BF5xx is not set
CONFIG_SND_BF5XX_SPORT_NUM=0
# CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set
#
# SoC Audio support for SuperH
#
CONFIG_SND_SOC_WM8731=m
# CONFIG_SND_SOC_WM8731_SPI is not set
ERROR: "bf5xx_ac97_frame_to_pcm32" [sound/soc/blackfin/snd-soc-bf5xx.ko] undefined!
ERROR: "sport_handle" [sound/soc/blackfin/snd-soc-bf5xx.ko] undefined!
ERROR: "bf5xx_ac97_pcm32_to_frame" [sound/soc/blackfin/snd-soc-bf5xx.ko] undefined!
ERROR: "bf5xx_ac97_write" [sound/soc/blackfin/snd-soc-bf5xx-i2s.ko] undefined!
If selecting "SoC AC97 Audio support for BF5xx (CONFIG_SND_BF5XX_SOC_BF5xx)", these error disappear. But the configuration "SoC AC97 Audio support for BF5xx" is confusing, since as I understand, WM8732 uses I2S, why should it depend on AC97?
Maybe "sport_handle" and other symbols should be moved out of bf5xx-ac97.c, or the kernel configure need to be changed.
Follow-ups
--- Michael Hennerich 2008-03-17 05:13:37
This is a known issue.
It is intended to be fixed with the BF52xC Audio Driver porting / task.
Assign to Cliff.
-Michael
--- Cliff Cai 2008-06-12 02:10:29
not sure WM8731 can work with this driver,for we have modified bf5xx-I2s.c
to make it work with SSM2602.
Cliff
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found