1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 06:02:04 +02:00
openwrt-xburst/target/linux/s3c24xx/patches-2.6.24/1197-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch
mirko fc54b9bf15 changed Makefile and profiles, added patches for kernel 2.6.24
(stable-branch of Openmoko)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-12 11:58:53 +00:00

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