diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-03-14 15:52:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-03-14 15:52:42 +0000 |
commit | 16defbb2bd9478f9e5384b9722f20a694e6bae41 (patch) | |
tree | f52e202c30c7fca103b196ece1223e18446e4dfc /target/linux/s3c24xx/patches-2.6.24/1098-fix-charging-deassert-host-power-1a-detect.patch.patch | |
parent | b4644aedce6526b5d07b336187c8e6417c7dd75e (diff) | |
download | mtk-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/1098-fix-charging-deassert-host-power-1a-detect.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1098-fix-charging-deassert-host-power-1a-detect.patch.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1098-fix-charging-deassert-host-power-1a-detect.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1098-fix-charging-deassert-host-power-1a-detect.patch.patch deleted file mode 100644 index 6876fa9..0000000 --- a/target/linux/s3c24xx/patches-2.6.24/1098-fix-charging-deassert-host-power-1a-detect.patch.patch +++ /dev/null @@ -1,36 +0,0 @@ -From b32caff43b040be34c206962402e881e4235c5a9 Mon Sep 17 00:00:00 2001 -From: Andy Green <andy@openmoko.com> -Date: Sun, 13 Apr 2008 07:25:51 +0100 -Subject: [PATCH] fix-charging-deassert-host-power-1a-detect.patch - -We don't take care to stop driving generated USB host power even -when we have a 1A charger connected on the same pins. - -Signed-off-by: Andy Green <andy@openmoko.com> ---- - drivers/i2c/chips/pcf50633.c | 9 +++++++++ - 1 files changed, 9 insertions(+), 0 deletions(-) - -diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c -index 91b9ac3..c14fad0 100644 ---- a/drivers/i2c/chips/pcf50633.c -+++ b/drivers/i2c/chips/pcf50633.c -@@ -523,6 +523,15 @@ static void configure_pmu_for_charger(struct pcf50633_data *pcf, - break; - case CHARGER_TYPE_1A: - __reg_write(pcf, PCF50633_REG_MBCC7, PCF50633_MBCC7_USB_1000mA); -+ /* -+ * stop GPO / EN_HOSTUSB power driving out on the same -+ * USB power pins we have a 1A charger on right now! -+ */ -+ dev_info(&pcf->client.dev, "Charger -> CHARGER_TYPE_1A\n"); -+ __reg_write(pcf, PCF50633_GPO - PCF50633_GPIO1 + -+ PCF50633_REG_GPIO1CFG, -+ __reg_read(pcf, PCF50633_GPO - PCF50633_GPIO1 + -+ PCF50633_REG_GPIO1CFG) & 0xf0); - break; - } - } --- -1.5.6.5 - |