[SERIAL] Fix deadlock on removal of 8250 module.
We must unregister all serial ports before driver_unregister() can complete. This means that we must unregister all ports in serial8250_remove, including our legacy ISA ports. We flag this special cleanup operation by setting serial8250_isa_devs to NULL and not handling our own platform device any differently from any others.
Showing
Please register or sign in to comment