diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
commit | 26e3776a22bf894ced5af4c28968dc1dc99968eb (patch) | |
tree | 2d38a3789e27a423439c37a45a09cae31990a615 /target/linux/s3c24xx/patches-2.6.24/1220-From-c221bb27c8e22daa451e26353140777223d397d2-Mon-Se.patch | |
parent | 4bd70fc26256cf485f19e0c8b881e078dc36134f (diff) |
nuke obsolete kernel stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1220-From-c221bb27c8e22daa451e26353140777223d397d2-Mon-Se.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1220-From-c221bb27c8e22daa451e26353140777223d397d2-Mon-Se.patch | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1220-From-c221bb27c8e22daa451e26353140777223d397d2-Mon-Se.patch b/target/linux/s3c24xx/patches-2.6.24/1220-From-c221bb27c8e22daa451e26353140777223d397d2-Mon-Se.patch deleted file mode 100644 index 54b1281bf..000000000 --- a/target/linux/s3c24xx/patches-2.6.24/1220-From-c221bb27c8e22daa451e26353140777223d397d2-Mon-Se.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 618097c906c68f2df5fb03ace81e6295be6ded42 Mon Sep 17 00:00:00 2001 -From: Holger Freyther <zecke@openmoko.org> -Date: Wed, 2 Jul 2008 22:45:07 +0100 -Subject: [PATCH] From c221bb27c8e22daa451e26353140777223d397d2 Mon Sep 17 00:00:00 2001 - Subject: [PATCH] [pcf50633] Report more events to userspace using the default callback - -Signed-Off-By: Holger Freyther <zecke@openmoko.org> ---- - drivers/i2c/chips/pcf50633.c | 20 +++++++++++++++----- - include/linux/pcf506xx.h | 1 + - 2 files changed, 16 insertions(+), 5 deletions(-) - -diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c -index 8a27925..10934f7 100644 ---- a/drivers/i2c/chips/pcf50633.c -+++ b/drivers/i2c/chips/pcf50633.c -@@ -1037,25 +1037,35 @@ static void pcf50633_work(struct work_struct *work) - * this is really "battery not pulling current" -- it can - * appear with no battery attached - */ -- /* FIXME: signal this to userspace */ -+ if (pcf->pdata->cb) -+ pcf->pdata->cb(&pcf->client.dev, -+ PCF50633_FEAT_MBC, PMU_EVT_CHARGER_CHANGE); - } - if (pcfirq[2] & PCF50633_INT3_THLIMON) { - DEBUGPC("THLIMON "); - pcf->flags |= PCF50633_F_CHG_PROT; -- /* FIXME: signal this to userspace */ -+ if (pcf->pdata->cb) -+ pcf->pdata->cb(&pcf->client.dev, -+ PCF50633_FEAT_MBC, PMU_EVT_CHARGER_CHANGE); - } - if (pcfirq[2] & PCF50633_INT3_THLIMOFF) { - DEBUGPC("THLIMOFF "); - pcf->flags &= ~PCF50633_F_CHG_PROT; -- /* FIXME: signal this to userspace */ -+ if (pcf->pdata->cb) -+ pcf->pdata->cb(&pcf->client.dev, -+ PCF50633_FEAT_MBC, PMU_EVT_CHARGER_CHANGE); - } - if (pcfirq[2] & PCF50633_INT3_USBLIMON) { - DEBUGPC("USBLIMON "); -- /* FIXME: signal this to userspace */ -+ if (pcf->pdata->cb) -+ pcf->pdata->cb(&pcf->client.dev, -+ PCF50633_FEAT_MBC, PMU_EVT_CHARGER_CHANGE); - } - if (pcfirq[2] & PCF50633_INT3_USBLIMOFF) { - DEBUGPC("USBLIMOFF "); -- /* FIXME: signal this to userspace */ -+ if (pcf->pdata->cb) -+ pcf->pdata->cb(&pcf->client.dev, -+ PCF50633_FEAT_MBC, PMU_EVT_CHARGER_CHANGE); - } - if (pcfirq[2] & PCF50633_INT3_ADCRDY) { - /* ADC result ready */ -diff --git a/include/linux/pcf506xx.h b/include/linux/pcf506xx.h -index a1365e0..459b160 100644 ---- a/include/linux/pcf506xx.h -+++ b/include/linux/pcf506xx.h -@@ -23,6 +23,7 @@ enum pmu_event { - #endif - PMU_EVT_CHARGER_ACTIVE, - PMU_EVT_CHARGER_IDLE, -+ PMU_EVT_CHARGER_CHANGE, - __NUM_PMU_EVTS - }; - --- -1.5.6.5 - |