summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooman Jeong <sm5.jeong@samsung.com>2017-01-03 17:49:53 +0900
committerjino.cho <jino.cho@samsung.com>2017-01-03 18:31:00 +0900
commitaaa08a4b7d351d1871e358346524b1df1f9c7572 (patch)
tree7c0563a3617148e8b5d221e1279986d634293f1a
parent40e32ca19189ca716c81111012778d383963fe01 (diff)
downloadlinux-3.10-artik-aaa08a4b7d351d1871e358346524b1df1f9c7572.tar.gz
linux-3.10-artik-aaa08a4b7d351d1871e358346524b1df1f9c7572.tar.bz2
linux-3.10-artik-aaa08a4b7d351d1871e358346524b1df1f9c7572.zip
i2c: gpio: change default delay value to zero
This patch changes default delay value to from 5 to 0 in order to maximize gpio-i2c clock speed. Change-Id: Ida4bde57367ef1da4571f0e3e3f411e18cc4cadc Signed-off-by: Sooman Jeong <sm5.jeong@samsung.com>
-rw-r--r--drivers/i2c/busses/i2c-gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-gpio.c b/drivers/i2c/busses/i2c-gpio.c
index bc6e139c6e7..c98d2040a44 100644
--- a/drivers/i2c/busses/i2c-gpio.c
+++ b/drivers/i2c/busses/i2c-gpio.c
@@ -199,7 +199,7 @@ static int i2c_gpio_probe(struct platform_device *pdev)
else if (pdata->scl_is_output_only)
bit_data->udelay = 50; /* 10 kHz */
else
- bit_data->udelay = 5; /* 100 kHz */
+ bit_data->udelay = 0; /* Max Speed */
if (pdata->timeout)
bit_data->timeout = pdata->timeout;