]> git.sur5r.net Git - u-boot/commitdiff
gpio: 74x164: make oe-pins optional
authorPeng Fan <peng.fan@nxp.com>
Thu, 13 Apr 2017 06:09:56 +0000 (14:09 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 18 May 2017 09:24:34 +0000 (11:24 +0200)
Make oe-pins optional because some boards have fixed it to enable.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/74x164_gpio.c

index 750eedfffd0bb1cb1685dda62cd6da0992c37d86..53a639ae65b14a992f6a181aecc775d14fb45f36 100644 (file)
@@ -156,8 +156,7 @@ static int gen_74x164_probe(struct udevice *dev)
        ret = gpio_request_by_name(dev, "oe-gpios", 0, &priv->oe,
                                   GPIOD_IS_OUT | GPIOD_IS_OUT_ACTIVE);
        if (ret) {
-               dev_err(dev, "No oe-pins property\n");
-               goto free_buf;
+               dev_dbg(dev, "No oe-pins property\n");
        }
 
        uc_priv->bank_name = str;