summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-04-13 14:09:56 +0800
committerStefano Babic <sbabic@denx.de>2017-05-18 11:24:34 +0200
commitaab203eb2e0d76fedc0280403edf8ed79b630e89 (patch)
tree158af4a59c3bb633a4b6498f7c27191e83687e76 /drivers/gpio
parent41eb8ff5ea0fe10c75b5c1dec2d0ee00f1c5ebce (diff)
gpio: 74x164: make oe-pins optional
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/74x164_gpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpio/74x164_gpio.c b/drivers/gpio/74x164_gpio.c
index 750eedfffd..53a639ae65 100644
--- a/drivers/gpio/74x164_gpio.c
+++ b/drivers/gpio/74x164_gpio.c
@@ -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;