openwrtv3/target/linux/s3c24xx/patches-2.6.26/1175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch
Mirko Vogt c931b21161 change prefix for kernelpatchbase 2.6.26
SVN-Revision: 13619
2008-12-13 01:54:56 +00:00

25 lines
827 B
Diff
Executable file

From 0d8121a591c510073424c7ba3e096507de693b27 Mon Sep 17 00:00:00 2001
From: Andy Green <andy@openmoko.com>
Date: Fri, 25 Jul 2008 23:06:14 +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 58970fe..0cbfcb9 100644
--- a/drivers/i2c/busses/i2c-s3c2410.c
+++ b/drivers/i2c/busses/i2c-s3c2410.c
@@ -515,6 +515,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.3