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.26/1016-i2c-permit_invalid_addrs.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.26/1016-i2c-permit_invalid_addrs.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches-2.6.26/1016-i2c-permit_invalid_addrs.patch.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/1016-i2c-permit_invalid_addrs.patch.patch b/target/linux/s3c24xx/patches-2.6.26/1016-i2c-permit_invalid_addrs.patch.patch deleted file mode 100755 index fda0473..0000000 --- a/target/linux/s3c24xx/patches-2.6.26/1016-i2c-permit_invalid_addrs.patch.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 839b25d6bcef4b1609aaa53d018cdbc59ea4efa7 Mon Sep 17 00:00:00 2001 -From: mokopatches <mokopatches@openmoko.org> -Date: Wed, 16 Jul 2008 14:44:50 +0100 -Subject: [PATCH] i2c-permit_invalid_addrs.patch - We need this stupid workaround since our amplifier chip uses a 'reserved' I2C - address - -Signed-off-by: Harald Welte <laforge@openmoko.org> ---- - drivers/i2c/i2c-core.c | 4 ++-- - 1 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c -index d0175f4..bb0c5e5 100644 ---- a/drivers/i2c/i2c-core.c -+++ b/drivers/i2c/i2c-core.c -@@ -1026,11 +1026,11 @@ static int i2c_probe_address(struct i2c_adapter *adapter, int addr, int kind, - int err; - - /* Make sure the address is valid */ -- if (addr < 0x03 || addr > 0x77) { -+ /*if (addr < 0x03 || addr > 0x77) { - dev_warn(&adapter->dev, "Invalid probe address 0x%02x\n", - addr); - return -EINVAL; -- } -+ }*/ - - /* Skip if already in use */ - if (i2c_check_addr(adapter, addr)) --- -1.5.6.3 - |