]> git.sur5r.net Git - u-boot/commitdiff
i2c: meson: reduce timeout
authorBeniamino Galvani <b.galvani@gmail.com>
Sun, 26 Nov 2017 16:40:55 +0000 (17:40 +0100)
committerHeiko Schocher <hs@denx.de>
Thu, 7 Dec 2017 08:28:21 +0000 (09:28 +0100)
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>
drivers/i2c/meson_i2c.c

index 2434d9ed53874b4702f04cf3a20075e62eea9022..84e1997c760c77fc40d3af77fed06d5b2a9688fa 100644 (file)
@@ -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)