[PATCH 5/5] tty/serial: at91: correct the usage of tasklet

2015-02-25 Thread Leilei Zhao
The tasklet may be scheduled and executed after serial port was shutdown, for example, DMA rx callback will schedule the tasklet while serial port is shutting down, especially serial port is sending and receiving data in a higher baud rate and it's killed by external program. In this case,

[PATCH 5/5] tty/serial: at91: correct the usage of tasklet

2015-02-25 Thread Leilei Zhao
The tasklet may be scheduled and executed after serial port was shutdown, for example, DMA rx callback will schedule the tasklet while serial port is shutting down, especially serial port is sending and receiving data in a higher baud rate and it's killed by external program. In this case,