openwrt/target/linux/s3c24xx/patches-2.6.24/1197-debug-i2c-s3c2410-dump...

26 lines
826 B
Diff

From 6588d2e1ca2092e37781cfa17aea741165e01f7e Mon Sep 17 00:00:00 2001
From: Andy Green <andy@openmoko.com>
Date: Wed, 2 Jul 2008 22:41:30 +0100
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
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;
}
--
1.5.6.5