On Fri, Nov 14, 2008 at 12:34:54AM +0100, Micael Henriksson wrote: > Hi, > > I have not updated my local branch for almost three weeks and decided > to give is a go tonight.. > Unfortunately even with the latest patches from Jonas Bonn there are > still some issues with i2c registration.
It may well have been a mis-fix in my i2c changes when moving to the new "platform data must be initialised". Unfortunately there are some machines where simply swapping 's3c_device_i2c.platform_data' for the new function does not work as they are called far too early before kmalloc is available. > When booting I get this in the log: > i2c /dev entries driver > s3c2410-i2c s3c2410-i2c: no platform data > s3c2410-i2c: probe of s3c2410-i2c failed with error -22 > ..... > ASoC version 0.13.2 > WM8753 Audio Codec 0.16 > soc-audio soc-audio: can't get i2c adapter 0 > can't add codec bus driver > ALSA device list: > No soundcards found. > > > Recalling that I have seen this error before made me search the mails > from this list and found a patch from Werner a few days ago for gta02. > http://lists.openmoko.org/pipermail/openmoko-kernel/2008-November/006262.html > > Applying that to mach-gta01.c makes it come a bit further: > > i2c /dev entries driver > s3c2410-i2c s3c2410-i2c: slave address 0x10 > s3c2410-i2c s3c2410-i2c: bus frequency set to 377 KHz > s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter > ...... > ASoC version 0.13.2 > WM8753 Audio Codec 0.16 > asoc: WM8753 HiFi <-> s3c24xx-i2s mapping ok > asoc: WM8753 Voice <-> Bluetooth mapping ok > soc-audio soc-audio: can't add i2c device at 0x1a > can't add codec bus driver > ALSA device list: > #0: neo1973 (WM8753) > ..... > cascade: timer c793c240: tbase_get_base(timer->base) 0x0 != base 0xc041be20 > kernel BUG at kernel/timer.c:750! > Unable to handle kernel NULL pointer dereference at virtual address 00000000 > > >From another mail I recall that this timer bug was due to bad cleanup > of the failed WM8753 registration ? .. > > I could dig down to what the reason is, but due to the number of late > patches in this area I hope someone will say "ahaaa" when reading this > and remember something that hasn't yet been patched for GTA01. > (if not, I'll check it up tomorrow) > > Cheers > /Micael > -- -- Ben Q: What's a light-year? A: One-third less calories than a regular year.
