Hi Liam,
On 6/14/07, Liam Girdwood lg@opensource.wolfsonmicro.com wrote:
Example machine driver for Mainstone with WM8753 is here :-
http://opensource.wolfsonmicro.com/cgi-bin/gitweb/gitweb.cgi?p=linux-2.6-aso...
The machine driver now also does the I2C/SPI probing (instead of the codec) and also does any codec IO (to better support multiple controllers).
The way in which the platform device is created in this file seems to have a problem. The mainstone_wm8753_probe() function (along everything else after that point) seems to expect that the platform device will be encapsulated in a struct snd_soc_machine, but this doesn't seem to be the case since you are instantiating the device with platform_driver_probe(). Am I missing something?
Cheers, Seth