diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2017-11-26 17:40:55 +0100 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2017-12-07 09:28:21 +0100 |
commit | 8c47ab6b3bdc696584d081d63daa2575db24cbfa (patch) | |
tree | 8f854a09bfe9b1547f56544c78033d5828862d7c /drivers/i2c/meson_i2c.c | |
parent | 4ecbb8b67855e50b326a1fcc4ddcd66d2e408084 (diff) | |
download | u-boot-8c47ab6b3bdc696584d081d63daa2575db24cbfa.tar.gz |
i2c: meson: reduce timeout
The datasheet doesn't specify a suggested timeout and 500ms seems very
long: reduce it to 100ms.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'drivers/i2c/meson_i2c.c')
-rw-r--r-- | drivers/i2c/meson_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/meson_i2c.c b/drivers/i2c/meson_i2c.c index 2434d9ed53..84e1997c76 100644 --- a/drivers/i2c/meson_i2c.c +++ b/drivers/i2c/meson_i2c.c @@ -9,7 +9,7 @@ #include <dm.h> #include <i2c.h> -#define I2C_TIMEOUT_MS 500 +#define I2C_TIMEOUT_MS 100 /* Control register fields */ #define REG_CTRL_START BIT(0) |