2008-12-12 13:58:53 +02:00
|
|
|
From 6588d2e1ca2092e37781cfa17aea741165e01f7e Mon Sep 17 00:00:00 2001
|
2008-12-12 02:02:36 +02:00
|
|
|
From: Andy Green <andy@openmoko.com>
|
2008-12-12 13:58:53 +02:00
|
|
|
Date: Wed, 2 Jul 2008 22:41:30 +0100
|
2008-12-12 02:02:36 +02:00
|
|
|
Subject: [PATCH] debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.patch
|
|
|
|
|
|
|
|
Signed-off-by: Andy Green <andy@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
|
2008-12-12 13:58:53 +02:00
|
|
|
index bd69127..b56ab58 100644
|
2008-12-12 02:02:36 +02:00
|
|
|
--- a/drivers/i2c/busses/i2c-s3c2410.c
|
|
|
|
+++ b/drivers/i2c/busses/i2c-s3c2410.c
|
2008-12-12 13:58:53 +02:00
|
|
|
@@ -516,6 +516,7 @@ static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, struct i2c_msg *msgs, int
|
2008-12-12 02:02:36 +02:00
|
|
|
dev_err(i2c->dev,
|
|
|
|
"Hey I am still asleep (suspended: %d), retry later\n",
|
|
|
|
i2c->suspended);
|
|
|
|
+ dump_stack();
|
|
|
|
ret = -EAGAIN;
|
|
|
|
goto out;
|
|
|
|
}
|
|
|
|
--
|
2008-12-12 13:58:53 +02:00
|
|
|
1.5.6.5
|
2008-12-12 02:02:36 +02:00
|
|
|
|