[PATCH] fix-i2c-s3c2410-resume-race.patch

Andy Green andy at openmoko.com
Mon Feb 25 06:19:16 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is the cause of the timeouts and broken behaviour on resume for the
I2C busses, and is doubtless the same cause of the BZ#79 reports of

"cannot get bus (error -110)"

The patch rejects pre I2C resume accessess, leading to immediate resume and

[   17.310000] timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000,
usec 00001eb8
[   17.310000] s3c2440-i2c s3c2440-i2c: Hey I am still asleep, retry later
[   17.310000] s3c2440-i2c s3c2440-i2c: Retrying transmission (0)
[   17.310000] s3c2440-i2c s3c2440-i2c: Hey I am still asleep, retry later
[   17.310000] s3c2440-i2c s3c2440-i2c: Retrying transmission (1)
[   17.310000] pcf50633_work: Oh crap PMU IRQ register read failed -1
[   17.310000] pcf50633_work: INT1=0x00 INT2=0x00 INT3=0x00 INT4=0x00
INT5=0x00
...
[   17.310000] s3c2440-i2c s3c2440-i2c: resuming
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHwk/UOjLpvpq7dMoRAj3VAJ0U3m+RfdzLu0tXa3s+GDEI8IcSIACfUhPz
V1ugL02cqkzCDxougoGpePE=
=31+v
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-i2c-s3c2410-resume-race.patch
Type: text/x-patch
Size: 2948 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080225/27e79c89/attachment.bin 


More information about the openmoko-kernel mailing list