1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 05:18:08 +02:00
openwrt-xburst/target/linux/s3c24xx/patches-2.6.24/1192-fix-pcf50633-require-resume-level-3-for-irq-work.pat.patch

27 lines
899 B
Diff
Raw Normal View History

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