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 | 6b7797688c8a7bde642afc2d9ba2658a1b57c0d5 (patch) | |
tree | 2d38a3789e27a423439c37a45a09cae31990a615 /target/linux/s3c24xx/patches-2.6.24/1020-i2c-permit_invalid_addrs.patch.patch | |
parent | c77724d127a6722cf74b4f0af314122aa06351fb (diff) | |
download | master-187ad058-6b7797688c8a7bde642afc2d9ba2658a1b57c0d5.tar.gz master-187ad058-6b7797688c8a7bde642afc2d9ba2658a1b57c0d5.tar.bz2 master-187ad058-6b7797688c8a7bde642afc2d9ba2658a1b57c0d5.zip |
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/1020-i2c-permit_invalid_addrs.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1020-i2c-permit_invalid_addrs.patch.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1020-i2c-permit_invalid_addrs.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1020-i2c-permit_invalid_addrs.patch.patch deleted file mode 100644 index dd568dedbc..0000000000 --- a/target/linux/s3c24xx/patches-2.6.24/1020-i2c-permit_invalid_addrs.patch.patch +++ /dev/null @@ -1,33 +0,0 @@ -From ae0e6a5c9e4cc1786c8b798ac19259a339476121 Mon Sep 17 00:00:00 2001 -From: mokopatches <mokopatches@openmoko.org> -Date: Fri, 4 Apr 2008 11:32:41 +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 b5e13e4..2c802de 100644 ---- a/drivers/i2c/i2c-core.c -+++ b/drivers/i2c/i2c-core.c -@@ -941,11 +941,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.5 - |