summaryrefslogtreecommitdiff
path: root/drivers/gpio/tegra186_gpio.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-10-09 20:19:39 -0400
committerTom Rini <trini@konsulko.com>2017-10-09 20:19:39 -0400
commitebdd65258bad89b2da6cce4265c858ee0d5a9440 (patch)
treef2002a9b676849b0697ab9cb494b7ed4f45e8130 /drivers/gpio/tegra186_gpio.c
parent74d90d17eebfeeefd91776e3deb7901c122bef7f (diff)
parent04d0da51578e12bd7c490aa70ed581ee5f9dcfea (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'drivers/gpio/tegra186_gpio.c')
-rw-r--r--drivers/gpio/tegra186_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/tegra186_gpio.c b/drivers/gpio/tegra186_gpio.c
index c5a7e13cceb..deb59e8b320 100644
--- a/drivers/gpio/tegra186_gpio.c
+++ b/drivers/gpio/tegra186_gpio.c
@@ -181,7 +181,7 @@ static int tegra186_gpio_bind(struct udevice *parent)
regs = (uint32_t *)devfdt_get_addr_name(parent, "gpio");
if (regs == (uint32_t *)FDT_ADDR_T_NONE)
- return -ENODEV;
+ return -EINVAL;
for (port = 0; port < ctlr_data->port_count; port++) {
struct tegra186_gpio_platdata *plat;