r4104 - branches/src/target/kernel/2.6.24.x/patches

werner at sita.openmoko.org werner at sita.openmoko.org
Sun Feb 24 15:01:09 CET 2008


Author: werner
Date: 2008-02-24 15:01:05 +0100 (Sun, 24 Feb 2008)
New Revision: 4104

Modified:
   branches/src/target/kernel/2.6.24.x/patches/pcf50633.patch
Log:
pcf50633.patch:
- drivers/i2c/chips/pcf50633.c (pcf50633_resume): after resume, process all
  pending interrupts, since we may have lost the interrupt that woke us up



Modified: branches/src/target/kernel/2.6.24.x/patches/pcf50633.patch
===================================================================
--- branches/src/target/kernel/2.6.24.x/patches/pcf50633.patch	2008-02-24 05:48:05 UTC (rev 4103)
+++ branches/src/target/kernel/2.6.24.x/patches/pcf50633.patch	2008-02-24 14:01:05 UTC (rev 4104)
@@ -2,7 +2,7 @@
 ===================================================================
 --- linux-2.6.24.orig/drivers/i2c/chips/Kconfig
 +++ linux-2.6.24/drivers/i2c/chips/Kconfig
-@@ -61,6 +61,15 @@
+@@ -61,6 +61,15 @@ config SENSORS_PCF50606
  	  This driver can also be built as a module.  If so, the module
  	  will be called pcf50606.
  
@@ -22,7 +22,7 @@
 ===================================================================
 --- linux-2.6.24.orig/drivers/i2c/chips/Makefile
 +++ linux-2.6.24/drivers/i2c/chips/Makefile
-@@ -10,6 +10,7 @@
+@@ -10,6 +10,7 @@ obj-$(CONFIG_SENSORS_MAX6875)	+= max6875
  obj-$(CONFIG_SENSORS_M41T00)	+= m41t00.o
  obj-$(CONFIG_SENSORS_PCA9539)	+= pca9539.o
  obj-$(CONFIG_SENSORS_PCF50606)	+= pcf50606.o
@@ -34,7 +34,7 @@
 ===================================================================
 --- /dev/null
 +++ linux-2.6.24/drivers/i2c/chips/pcf50633.c
-@@ -0,0 +1,1956 @@
+@@ -0,0 +1,1958 @@
 +/* Philips PCF50633 Power Management Unit (PMU) driver
 + *
 + * (C) 2006-2007 by OpenMoko, Inc.
@@ -1924,6 +1924,8 @@
 +
 +	mutex_unlock(&pcf->lock);
 +
++	pcf50633_irq(pcf->irq, pcf);
++
 +	return 0;
 +}
 +#else





More information about the commitlog mailing list