freebsd-nq/sys/dev/gpio
Luiz Otavio O Souza 978cdbedcd Fix a few bugs when gpiobus is detaching:
- Detach the gpiobus and the gpioc devices from the GPIO controller.

 - Fix the leak of gpiobus IRQ rman(9) region descriptor.

 - Fix the leak of child ivars and IRQ resource list.

While here return NULL (instead of 0) for a device_t that fails to allocate
the ivar memory.

Tested with gpiobus built as a module.

Sponsored by:	Rubicon Communications (Netgate)
2015-08-17 16:51:37 +00:00
..
gpio_if.m Implement a new method to retrieve the gpiobus reference from a GPIO 2015-01-31 15:50:19 +00:00
gpiobacklight.c Add GPIO backlight driver compatible with Linux FDT bindings. 2015-07-30 19:04:14 +00:00
gpiobus_if.m Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpiobus.c Fix a few bugs when gpiobus is detaching: 2015-08-17 16:51:37 +00:00
gpiobusvar.h Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpioc.c Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpioiic.c Fix the gpiobus locking by using a more sane model where it isn't necessary 2014-10-31 19:15:14 +00:00
gpioled.c This implements default-state support as described in: 2015-05-24 07:45:42 +00:00
ofw_gpiobus.c Use ofw_bus_find_child_device_by_phandle to see if the child we're 2015-06-20 04:48:53 +00:00