[#7210] ad73311 build fail after update kernel to 3.5
Submitted By: Bob Liu
Open Date
2012-07-26 03:51:24 Close Date
2012-09-07 03:46:51
Priority:
Medium Assignee:
Scott Jiang
Status:
Closed Fixed In Release:
N/A
Found In Release:
snaps Release:
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.:
gcc version 4.3.5 (ADI-2012R1-
App binary format:
N/A
Summary: ad73311 build fail after update kernel to 3.5
Details:
LD sound/soc/codecs/built-in.o
CC [M] sound/soc/codecs/ad73311.o
sound/soc/codecs/ad73311.c: In function ‘ad73311_soc_probe’:
sound/soc/codecs/ad73311.c:157: error: implicit declaration of function ‘snd_soc_add_controls’
make[3]: *** [sound/soc/codecs/ad73311.o] Error 1
make[2]: *** [sound/soc/codecs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
root@bob-OptiPlex-760:/old/home/bob/linux-kernel-git/linux-kernel#
snd_soc_add_controls has been removed(renamed?) in framework.
Follow-ups
--- James Kosin 2012-08-07 12:32:24
I'm getting the same from trunk.
It looks like we need to change to use the appropriate new functions to perform
the tasks:
snd_soc_add_codec_controls()
snd_soc_add_platform_controls()
snd_soc_add_card_controls()
snd_soc_add_dai_controls()
--- James Kosin 2012-08-07 14:25:06
This problem affects the following drivers:
sound/soc/codec/adau17x1.c
sound/soc/codec/adau1761.c
sound/soc/codec/ad73311.c
--- James Kosin 2012-08-07 14:25:17
This problem affects the following drivers:
sound/soc/codec/adau17x1.c
sound/soc/codec/adau1761.c
sound/soc/codec/ad73311.c
--- Scott Jiang 2012-08-10 02:31:19
fixed.
--- Vivi Li 2012-09-07 04:46:59
OK in trunk. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found