aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches/0175-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch
blob: c0165a434abf7fc387ce1322651a89b27ee738a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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