diff options
Diffstat (limited to 'sys/arm/freescale/vybrid/vf_gpio.c')
-rw-r--r-- | sys/arm/freescale/vybrid/vf_gpio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm/freescale/vybrid/vf_gpio.c b/sys/arm/freescale/vybrid/vf_gpio.c index a31ff78..1fcf329 100644 --- a/sys/arm/freescale/vybrid/vf_gpio.c +++ b/sys/arm/freescale/vybrid/vf_gpio.c @@ -125,6 +125,7 @@ vf_gpio_attach(device_t dev) if (bus_alloc_resources(dev, vf_gpio_spec, sc->res)) { device_printf(dev, "could not allocate resources\n"); + mtx_destroy(&sc->sc_mtx); return (ENXIO); } |