summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1197-debug-i2c-s3c2410-dump-stack-on-suspended-tranfer.pa.patch
blob: 3e3c19beabc050fbeeb5417ff18f9e7a5d4a637e (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 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