On Tue, Mar 31, 2009 at 07:37:55PM +0100, Russell King - ARM Linux wrote:
I don't think this is the complete story. Sometime between 2.6.27 and 2.6.29, the structure below /sys/devices/platform/soc-audio changed (the ac97 codec moved to the top level.)
Oh, are you using the ac97.c codec driver? With a normal ASoC codec driver the AC97 codec is not visible as a separate device in the device tree - if you could point me to your machine driver that'd be helpful.
I'll take a look at ac97.c tomorrow; there have been some problems found with the way it registers in that timeframe so it's likely that one of the fixes there has caused the regression. The way it uses the generic ALSA AC97 code means that it needs some special casing.
As a workaround I'd suggest using the generic PXA AC97 support in sound/arm rather than an ASoC machine driver. Switching your machine driver to use the WM9705 codec driver should also avoid the problems.