]> git.baikalelectronics.ru Git - kernel.git/commit
TTY: bfin_jtag_comm: remove incorrect wait_until_sent operation
authorJohan Hovold <johan@kernel.org>
Wed, 4 Mar 2015 09:39:04 +0000 (10:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:44:14 +0000 (03:44 +0100)
commit8c9552d1e0e15edb2560a9665a8b00058d9ad635
tree478e4033a4572db2d662fe37641bc05293cab921
parenta30c3e33be35fbf7854b00720427bd2518182e66
TTY: bfin_jtag_comm: remove incorrect wait_until_sent operation

Remove incorrect and redundant wait_until_sent operation, which waits
for the driver buffer rather than any hardware buffers to drain,
something which is already taken care of by the tty layer (and
chars_in_buffer).

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/bfin_jtag_comm.c