aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-09-29 10:11:12 -0700
committerIliyan Malchev <malchev@google.com>2011-09-29 10:11:15 -0700
commit3e00cedce6401c1d6c9507bbffd787cccafc0b7e (patch)
treef8b5dffc418ec3a01f17b026e5f5d504b9ae3f6e
parentd5c489f15bc23891eb8f97e7aa337f595e9f43a8 (diff)
downloadkernel_samsung_tuna-3e00cedce6401c1d6c9507bbffd787cccafc0b7e.zip
kernel_samsung_tuna-3e00cedce6401c1d6c9507bbffd787cccafc0b7e.tar.gz
kernel_samsung_tuna-3e00cedce6401c1d6c9507bbffd787cccafc0b7e.tar.bz2
i2c: omap: do not call i2c_detect_ext_master blindly during probe
The decision to call i2c_detect_ext_master() must be made dynamically. This way we are locking out A9 I2C clients without any external requests. Signed-off-by: Iliyan Malchev <malchev@google.com>
-rw-r--r--drivers/i2c/busses/i2c-omap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-omap.c b/drivers/i2c/busses/i2c-omap.c
index 85abf9a..e1efedf 100644
--- a/drivers/i2c/busses/i2c-omap.c
+++ b/drivers/i2c/busses/i2c-omap.c
@@ -1109,8 +1109,6 @@ omap_i2c_probe(struct platform_device *pdev)
goto err_free_irq;
}
- i2c_detect_ext_master(adap);
-
return 0;
err_free_irq: