aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.24/1192-fix-pcf50633-require-resume-level-3-for-irq-work.pat.patch
blob: 537bcc487e0ffba5932e27773b85f7d93e5b26c1 (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
26
From 2d0f061cbf1ae256c9c91ee45bc4d09c2a8b1cdf Mon Sep 17 00:00:00 2001
From: Andy Green <andy@openmoko.com>
Date: Wed, 2 Jul 2008 22:40:51 +0100
Subject: [PATCH] fix-pcf50633-require-resume-level-3-for-irq-work.patch
 Signed-off-by: Andy Green <andy@openmoko.com>

---
 drivers/i2c/chips/pcf50633.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c
index e53bec0..6e50ae8 100644
--- a/drivers/i2c/chips/pcf50633.c
+++ b/drivers/i2c/chips/pcf50633.c
@@ -763,7 +763,7 @@ static void pcf50633_work(struct work_struct *work)
 	 * completed.
 	 */
 
-	if (pcf->have_been_suspended && (pcf->have_been_suspended < 2)) {
+	if (pcf->have_been_suspended && (pcf->have_been_suspended < 3)) {
 		dev_info(&pcf->client.dev, "rescheduling,  suspended = %d\n",
 					   pcf->have_been_suspended);
 		goto reschedule;
-- 
1.5.6.5