qoriq_gpio_pin_setflags: Propagate error from qoriq_gpio_pin_configure.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D34854
This commit is contained in:
parent
540ac338d5
commit
bc734377d9
@ -153,7 +153,7 @@ qoriq_gpio_pin_setflags(device_t dev, uint32_t pin, uint32_t flags)
|
||||
GPIO_LOCK(sc);
|
||||
ret = qoriq_gpio_pin_configure(dev, pin, flags);
|
||||
GPIO_UNLOCK(sc);
|
||||
return (0);
|
||||
return (ret);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user