]> git.sur5r.net Git - u-boot/blobdiff - drivers/i2c/kona_i2c.c
i2c: meson: reduce timeout
[u-boot] / drivers / i2c / kona_i2c.c
index 9af496bbb1cdbd8454c5fd927bfda5b1bf44b53e..26ee202880eea861373af4e5e5211db425703dc4 100644 (file)
@@ -2,11 +2,14 @@
  * Copyright 2013 Broadcom Corporation.
  *
  * SPDX-License-Identifier:      GPL-2.0+
+ *
+ * NOTE: This driver should be converted to driver model before June 2017.
+ * Please see doc/driver-model/i2c-howto.txt for instructions.
  */
 
 #include <common.h>
 #include <asm/io.h>
-#include <asm/errno.h>
+#include <linux/errno.h>
 #include <asm/arch/sysmap.h>
 #include <asm/kona-common/clk.h>
 #include <i2c.h>
@@ -381,7 +384,7 @@ static int bcm_kona_i2c_write_fifo_single(struct bcm_kona_i2c_dev *dev,
                return -EREMOTEIO;
        }
 
-       /* Check if a timeout occured */
+       /* Check if a timeout occurred */
        if (!time_left) {
                printf("completion timed out\n");
                return -EREMOTEIO;