Searched hist:"98 f2082c3ac4042189723c120553310700b583bb" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | atmel_serial.c | diff 98f2082c3ac4042189723c120553310700b583bb Sun Jun 26 02:44:49 CDT 2016 Nicolas Ferre <nicolas.ferre@atmel.com> tty/serial: atmel: enforce tasklet init and termination sequences
As some race conditions are identified in the termination process of tasklets, enforce the atmel_shutdown() sequence. This way we make sure that no new tasklets or software timer are scheduled during shutdown process.
An atomic flag is positioned to give this information throughout the code.
We also remove tasklet_disable() calls that were leading to deadlocks while stopping the driver. A simpler init/kill sequence is used.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|