Resume issue after a longer sleep
Andy Green
andy at openmoko.com
Fri May 16 10:36:28 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| Hey,
|
| Graeme and me see further resume issues with the gta02. After a five
minute
| sleep the device is not waking up.
|
| My magic printascii tells me:
|
| h i2c-adapter_ah_ijkg
| h i2c-dev_ah_ijkg
| h pcf50633_ab
|
|
| which means it is hanging in the platform_driver resume method. i2c was
| supposely initialized already. I will take a further look tomorrow.
Interesting news.
Take note of ./drivers/i2c/busses/i2c-s3c2410.c:
static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, struct i2c_msg
*msgs, int num)
{
unsigned long timeout;
int ret;
if (i2c->suspended) {
dev_err(i2c->dev,
"Hey I am still asleep (suspended: %d), retry later\n",
i2c->suspended);
ret = -EAGAIN;
goto out;
}
I added this as a palliative for a previous resume ordering crash (that
did not depend on suspend time)
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkgtR4wACgkQOjLpvpq7dMrP2wCeITMNOpDfr0xf3bYk0SwsEVw7
rbUAnRS6dZeisqJ6Va1UBqY4aF8l6mSu
=AUJi
-----END PGP SIGNATURE-----
More information about the openmoko-kernel
mailing list