]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: lpc32xx_hs: don't call tty_flip_buffer_push() twice
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 19 Aug 2013 14:44:14 +0000 (20:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2013 23:17:34 +0000 (16:17 -0700)
commitd7fe61bba862be4ad4fe862bd17044e6abb0d5c9
treee1675c382766f811ad1e6ba44b1aee4e01849a42
parenta352cdc7741bf802c9c02ae15622d0f9ca498e10
tty: serial: lpc32xx_hs: don't call tty_flip_buffer_push() twice

serial_lpc32xx_interrupt() calls __serial_lpc32xx_rx() first and then
tty_flip_buffer_push() immediately after that. But last statement of
__serial_lpc32xx_rx() already called tty_flip_buffer_push()..

So, probably its not required to be called twice. Lets remove one of them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/lpc32xx_hs.c