aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:09:50 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:50 +0000
commit0723e34f8eb68ab147470a587cd042c22f0e7f05 (patch)
treeb9a48e4d4f230167694e3eb0c568abc6a18d9587 /drivers
parentc7f3a6d8f24db2ba3400d9b2125afa73a19129f2 (diff)
debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/busses/i2c-s3c2410.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c
index 6a1cb34b6f7..b632c762d4d 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -494,6 +494,7 @@ static int s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c,
dev_err(i2c->dev,
"Hey I am still asleep (suspended: %d), retry later\n",
i2c->suspended);
+ dump_stack();
ret = -EAGAIN;
goto out;
}