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