linux/drivers/staging/ipack
Samuel Iglesias Gonsalvez 597d473f16 Staging: ipack/devices/ipoctal: avoid kernel oops when uninstalling
When uninstalling a device, there is a loop of calls that produces, at the end,
two calls to __ipoctal_remove() function with the same ipack_device argument.

The first time works fine, but the second will fail in tty_unregister_driver()

To avoid this situation, the call to __ipoctal_remove() it is done only from the
ipack bus driver and not from the ipack device driver.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-07 14:20:29 +09:00
..
bridges Staging: ipack/bridges/tpci200: removed check of tpci200->slots[dev->slot].dev 2012-06-07 14:14:08 +09:00
devices Staging: ipack/devices/ipoctal: avoid kernel oops when uninstalling 2012-06-07 14:20:29 +09:00
ipack.c Staging: ipack: delete the call to remove() in ipack_driver_register 2012-06-07 14:20:29 +09:00
ipack.h Staging: ipack: remove board_name and bus_name fields from struct ipack_device 2012-05-18 17:36:01 -07:00
Kconfig Staging: ipack: added more info in Kconfig's help about ipack 2012-05-14 13:41:29 -07:00
Makefile Staging: ipack: add support for IP-OCTAL mezzanine board 2012-05-09 14:16:51 -07:00
TODO Staging: ipack: add contact email in TODO file 2012-05-14 13:41:28 -07:00