From: Beniamino Galvani Date: Sun, 26 Nov 2017 16:40:55 +0000 (+0100) Subject: i2c: meson: reduce timeout X-Git-Tag: v2018.01-rc2~56^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8c47ab6b3bdc696584d081d63daa2575db24cbfa;p=u-boot 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 Reviewed-by: Simon Glass Reviewed-by: Heiko Schocher --- 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 #include -#define I2C_TIMEOUT_MS 500 +#define I2C_TIMEOUT_MS 100 /* Control register fields */ #define REG_CTRL_START BIT(0)