summaryrefslogtreecommitdiff
path: root/target/linux/s3c24xx/patches-2.6.24/1290-Subject-PATCH-rework-to-make-USBINS-USBREM-exclus.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-14 15:52:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-14 15:52:42 +0000
commit16defbb2bd9478f9e5384b9722f20a694e6bae41 (patch)
treef52e202c30c7fca103b196ece1223e18446e4dfc /target/linux/s3c24xx/patches-2.6.24/1290-Subject-PATCH-rework-to-make-USBINS-USBREM-exclus.patch
parentb4644aedce6526b5d07b336187c8e6417c7dd75e (diff)
downloadmtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.zip
mtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.tar.gz
mtk-20170518-16defbb2bd9478f9e5384b9722f20a694e6bae41.tar.bz2
nuke obsolete kernel stuff
SVN-Revision: 14875
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1290-Subject-PATCH-rework-to-make-USBINS-USBREM-exclus.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.24/1290-Subject-PATCH-rework-to-make-USBINS-USBREM-exclus.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1290-Subject-PATCH-rework-to-make-USBINS-USBREM-exclus.patch b/target/linux/s3c24xx/patches-2.6.24/1290-Subject-PATCH-rework-to-make-USBINS-USBREM-exclus.patch
deleted file mode 100644
index 43c0e85..0000000
--- a/target/linux/s3c24xx/patches-2.6.24/1290-Subject-PATCH-rework-to-make-USBINS-USBREM-exclus.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 853fcd2329b427788677d11431e6165d108f935b Mon Sep 17 00:00:00 2001
-From: Matt Hsu <matt_hsu@openmoko.org>
-Date: Wed, 17 Sep 2008 16:10:43 +0100
-Subject: [PATCH] Subject: [PATCH] rework-to-make-USBINS-USBREM-exclusive.patch
-
-This patch is a work-around solution to correct charging indication logic.
-
-Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
----
- drivers/i2c/chips/pcf50633.c | 6 +++++-
- 1 files changed, 5 insertions(+), 1 deletions(-)
-
-diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c
-index bac307e..c186fdb 100644
---- a/drivers/i2c/chips/pcf50633.c
-+++ b/drivers/i2c/chips/pcf50633.c
-@@ -915,7 +915,11 @@ static void pcf50633_work(struct work_struct *work)
- add_request_to_adc_queue(pcf, PCF50633_ADCC1_MUX_ADCIN1,
- PCF50633_ADCC1_AVERAGE_16);
- }
-- if (pcfirq[0] & PCF50633_INT1_USBREM) {
-+ if (pcfirq[0] & PCF50633_INT1_USBREM &&
-+ !(pcfirq[0] & PCF50633_INT1_USBINS)) {
-+ /* the occurrence of USBINS and USBREM
-+ * should be exclusive in one schedule work
-+ */
- DEBUGPC("USBREM ");
-
- pcf->usb_removal_count++;
---
-1.5.6.5
-