[PATCH] fix-i2c-s3c2410-resume-race.patch
Tim Niemeyer
tim.niemeyer at mastersword.de
Thu Feb 28 20:12:48 CET 2008
Hallo,
* Andy Green <andy at openmoko.com> [25-02-08 13:19]:
> 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
On my configuration the I2C bus isn't suspended and this Patch breaks
the wakeup.
I build a patch (attached) that the bus will suspend.
> "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
Tim Niemeyer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-i2c.patch
Type: text/x-diff
Size: 791 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080228/26d2bc64/attachment.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20080228/26d2bc64/attachment.pgp
More information about the openmoko-kernel
mailing list