commit | 2ad28e3efee21a5bbf940c83d1f0395b76bd3efb | [log] [tgz] |
---|---|---|
author | Huang Shijie <b32955@freescale.com> | Wed Jan 22 16:23:37 2014 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 13 10:18:48 2014 -0800 |
tree | fef6300f24329e4a3f7a8543a31ee1c40a7e9e54 | |
parent | c972d806fddfb7852ce0d37d2ed14072b6de670b [diff] |
serial: imx: always wake up the processes in the TX callback The current code only wakes up the processes when the circle buffer has less data then the WAKEUP_CHARS. But sometimes, the circle buffer may has data more then the WAKEUP_CHARS, in such case, the processes will hang. This patch makes it always wakes up the processes in the TX callback. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>