summaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.26/1171-fix-pcf50633-require-resume-level-3-for-irq-work.pat.patch
blob: b57418ae30e1da9aceab1e222e68ceb8734f2810 (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 0bdbf5f961ca615f48cb4ba19f7fd852593aa998 Mon Sep 17 00:00:00 2001
From: Andy Green <andy@openmoko.com>
Date: Fri, 25 Jul 2008 23:06:14 +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 58f6ffc..3bc9fa7 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.3