summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.26/1175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/1175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches-2.6.26/1175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/1175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch b/target/linux/s3c24xx/patches-2.6.26/1175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch
new file mode 100755
index 0000000..c0165a4
--- /dev/null
+++ b/target/linux/s3c24xx/patches-2.6.26/1175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch
@@ -0,0 +1,25 @@
+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
+