[PATCH] parport: fix parport_unregister_port
parport_unregister_port() is split; parport_remove_port() does what parport_unregister_port() used to do sans the final parport_put_port() call. Callers updated; many of them needed only parport_put_port() (failure exit paths where we never had the port announced to drivers). Fixed multiple races on port removal by shifting parport_remove_port() in front of the code that releases irq/io ports/etc.
Showing
Please register or sign in to comment