[PATCH 02/10] debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.patch

Andy Green andy at openmoko.com
Mon Jun 16 00:17:17 CEST 2008


Signed-off-by: Andy Green <andy at openmoko.com>
---

 drivers/i2c/busses/i2c-s3c2410.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index bd69127..b56ab58 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -516,6 +516,7 @@ static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, struct i2c_msg *msgs, int
 		dev_err(i2c->dev,
 		    "Hey I am still asleep (suspended: %d), retry later\n",
 		    i2c->suspended);
+		dump_stack();
 		ret = -EAGAIN;
 		goto out;
 	}





More information about the openmoko-kernel mailing list